Cascading Style Sheet
CSS, with this helpful webpage, can help you manage the style and layout of many different web pages all at the same time. You can change the code already written to create a webpage the way you want it to appear. However, I am confused how this tutorial allows you to edit multiple web pages at once. How does this simplify the process or save time?
CSS Tutorial
This tutorial explains a lot more how to make an html file, a css file, and how to use both of them. Plus, it has all the code (I'm assuming that's what you call all the tags and everything all together) already written out so that you can copy and paste it. This tutorial shows you how to change fonts and colors, and even a navigation bar, adding lines, and other stylistic aspects. It tells you to save two files, one html and one css, and to load them to your website, but I still don't see how they work together. Maybe when we start on Assignment 6 this will become clear. It says that the style comes from one file, while the information is in the html file, but why is having two files instead of one really make it simpler?
Style Sheet for the Web
Ah ha! Maybe this chapter will put all the pieces together for me. Maybe the "code" was talking about were a series of "rules" which contain a selector and a declaration, which has a property and value. These determine what the information (like the text) will look like, color, font, etc. There are four different ways to attach a style sheet to the html, which this chapter calls gluing, but I still think I'd need to see this demonstrated. They also explain what "Cascading" style sheets mean... it means that multiple style sheets can affect one html file. However, I don't see how a user can alter a rule created by the creator of the webpage! Once the rules are written, how can someone looking at the webpage (I'm assuming that's what they mean by user) change that? What you see is what you get... or so I thought?
No comments:
Post a Comment