HTML and CSS Reference
In-Depth Information
<ul>
<li> Home </li>
<li> Find us </li>
<li> Job opportunities </li>
</ul>
</div>
<div id="container">
<div id="left-sidebar">
Left sidebar
<ul>
<li> Article #1 </li>
<li> Article #2 </li>
<li> Article #3 </li>
</ul>
</div>
<div id="content">
This is the main content of the page
</div>
<div id="right-sidebar">
Right sidebar
</div>
</div>
<div id="footer">
<hr />
Footer of the page
</div>
</div>
</body>
</html>
The id attribute of the DIV elements are given self-explanatory names that help with understand-
ing their intended role. Therefore, the HTML page includes header, navigation bar, footer, and a
three-column layout in between the element named container. Figure 2-4 shows how multi.html
renders on Internet Explorer.
Search WWH ::




Custom Search