|
<FONT ...><H1 ...>STYLE tag or in a style sheet file):
H1 A
{font-style:italic;}
You then write the HTML as usual:
<H1>New Products, <A HREF="april.html">April 2001</A></H1>
which gives us
<DIV ...>
.topofpage
{
font-size:180%;
}
.topofpage A
{
font-style:italic;
}
The first rule says that all topofpage elements have a font size of 180%. The second rule says that <A ...>topofpage elements are in italic. We can then apply the style to a <DIV ...>
<DIV CLASS="topofpage"> Links: [ <A HREF="./">Home</A> ] [ <A HREF="list.html">Listings</A> ] [ <A HREF="price.html">Price Chart</A> ] </DIV>
which gives us
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.