You may have noticed that the use of 'Font' to set the properties of the text is nowadays deprecated. This is because there exists a much more convenient method for maintaining consistent text style across the various pages of a web site. This approach is known as Styles.
To illustrate this better, copy and paste in (just before the /body tag) the code for sections 2 and 3 from the html file, codesecs2and3.html in the pool area. Test your current page.
We now convert our tutorial to the use of styles. Insert a Style tag in the code immediately after the '!DOCTYPE' tab at the top. Between the style tag parts type the following definition:
BODY
{
color : Navy;
}
.Bold
{
font-weight : bold;
}
P.Navy
{
color : Navy;
}
P.Black
{
color : Black;
}
<p class=Black>
- making use of the P.Black style.
<p>This page was created using
<span class=Bold>HomeSite</span>,
which can be downloaded from ...
So first, test this is all working.
Save your page before exiting.
As your page gets longer it becomes inconvenient for the reader to have to search for the sections they are interested in. A means of indexing into the text is required. We make a Contents List at the front of the page and use internal hyperlinks to navigate to each section heading.
Locate your Contents List immediately after the MACROMEDIA HOMESITE 5 TUTORIAL heading at the top of the page. Start by placing a 'Name'd text heading there, as:
<p><a name="contents-list"><strong>Contents</strong></a></p>
Notice the name 'contents-list' in the tag. This Name enables the user to return to this Contents List when they have finished reading any section.
So test this by copying and pasting in (just before /body) the text of section 4 and this section, up to this point (codesecs4and5.html), followed by the link tag below: