• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 13. Using Cascading Style Sheets > What Are Cascading Style Sheets?

What Are Cascading Style Sheets?

A Cascading Style Sheet at its most basic is a set of instructions that define how an HTML document is going to display. The great thing about CSS is that it can be defined in an external file, or sheet. This external sheet is first read by the browser, then applies the rules to the specified content on the page. In this way, the style and formatting of the page are separate from the content. This is an important concept in designing web pages. It also gives you a powerful and detailed way to update your entire web site.

You can create a style sheet that defines your text as Arial, 12 point, red, bold, and left-justified with a blue background. Attach your sheet to all the pages on your site, and all your text will appear that way. If you have a change of heart, you can change that one style sheet and make the text Times, 28 point, green, italics, and right-justified. Save that new sheet, and the entire web site is automatically updated.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint