HTML and CSS Reference
In-Depth Information
Create navigation bar for a main section page
1.
Create a new page with file name california.html and save it in
the Travel West folder.
2.
Title it Vacationing in California .
3.
Make the table just like the one on the home page, but add an
extra cell on the end.
Tip: If you copy the table code from index.html and insert it into
california.html , all you have to do is add a cell: <td></td> .
Don't forget to change the cell widths. There are now four cells,
and their widths must add up to 100%. That means 25% per cell:
<table>
<tr>
<td width=”25%”></td>
<td width=”25%”></td>
<td width=”25%”></td>
<td width=”25%”></td>
</tr>
</table>
4.
Format the table and text just like on the home page, but make
the California cell bright yellow ( bgcolor=”#ffff00” ) to show
“You are here.”
5.
Link the page to the style sheet west.css .
Search WWH ::




Custom Search