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

Lesson 11. Using Style Sheets > Creating External Style Sheets

Creating External Style Sheets

Style sheets can be stored externally and linked to one or more documents. When you create an external style sheet for a document, the style sheet is automatically linked to the document for which it was created. An external style sheet is a text file that only contains style specifications. One advantage of creating an external style sheet for a document is that you can link that style sheet to other documents in the site in order to ensure consistency from page to page. Another advantage of using an external style sheet is that you can easily edit your styles, because any modifications will be made automatically to all documents that link to that style sheet. Use an external style sheet to standardize the appearance of text on multiple pages and to make changes that will be applied to all linked documents.

In this exercise, you will create a new style in an external style sheet by redefining an HTML tag. By redefining the heading 3 (<h3>) HTML tag in this exercise, you are telling the browser that any text using the <h3> tag should be displayed with the formatting you specify. This is useful because it allows you to alter the basic heading 3 format so all text that uses the heading 3 format will be formatted with the style attributes you specified.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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