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

Chapter 19. Using Style Sheets to Format... > Using Embedded Style Sheets

Using Embedded Style Sheets

An embedded style sheet uses the same format as an external style sheet. The only difference between the two is that an embedded style sheet is embedded in the HTML of the page, whereas an external style sheet exists in its own file and is linked to a page (or multiple pages).

Embedded style sheets are often used to override styles configured in an external style sheet. For example, suppose that you have configured all of your pages with a white background and black text with red hyperlinks using an external style sheet linked. You have one page in your site where you want to use all the styles configured in the external style sheet, but instead of a white background with black text, you need a black background with white text. An embedded style sheet will allow you to override the background color and font color styles from the external style sheet while keeping all the other styles.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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