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

Chapter 11. Stylin' with Style Sheets > Kinds of Style Sheets

Kinds of Style Sheets

Style sheets are collections of CSS styles—one or more styles make a style sheet. In CSS, styles can be stored as a style sheet in one of three ways: Internal, external, or inline (see Tips, below).

About internal and external style sheets

On a single page, the styles can be stored internally, in the <head> tag of the document (which comes before the <body>; see Figure 11.11). The exact same styles could also be stored in an external style sheet (Figure 11.12), which you can link to from many different pages. And external style sheets can be divided into two kinds themselves: linked and imported.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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