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

Chapter 9. Style Sheets > Embedded Style Information

Embedded Style Information

Figure 9.2 shows Microsoft's Site Search page. The style information is stored in the document head, as shown in the excerpt of HTML source code in Listing 9.1. For the link styles defined near the bottom of the listing, the structure of the style information takes the same form that you saw for setting up style information in a separate file: an HTML tag name, followed by curly braces containing the style characteristics. The rest of the style information is devoted to setting up style classes. These classes can then be referenced by multiple tags by using the CLASS attribute.

Figure 9.2. Microsoft defines several font classes for its search page. Each class is referenced by using the CLASS attribute in the tag where you want to apply the styles in that class.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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