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

External Style Sheets

You can specify styles using external style sheets, which you connect to a page using the <LINK> element like this:

(Listing 21-02.html on the web site)

<HTML> 
    <HEAD> 
        <TITLE>Using the &lt;STYLE&gt; Element</TITLE> 
        <LINK REL="stylesheet" HREF="21-03.css" 
    </HEAD> 

    <BODY> 
        <H1> 
            Using the &lt;STYLE&gt; Element 
        </H1> 
        <P> 
            This text is italic. 
        </P> 
    </BODY> 
</HTML> 


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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