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

Chapter 11. Working with Style Sheets > How Style Sheets Work

How Style Sheets Work

Cascading style sheets consist of instructions, known as rules, on how to format text in a document. Style sheets contain individual styles that specify formatting that can redefine an HTML tag throughout a page, or they can alter a passage or block of text. There are lots of variations, which I describe throughout this chapter.

Like other HTML pages and tags, style sheets require certain syntax to work, and that syntax varies depending on the way the style sheet is intended to work with your document. Similarly, individual styles use syntax to tell a Web browser how to interpret it, and what changes to make in text display and position.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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