HTML and CSS Reference
In-Depth Information
Example 2.15: nested ordered and unordered lists
<!DOCTYPE html>
<title>Example 2.15</title>
<body style="margin: 36px">
<h1> The Autobiography Of A Biographer </h1>
<h2> Table of Contents </h2> <!-- use headings for major sections -->
<li> Introduction </li>
<li> Early Years
<ul> <!-- use bullets for this level -->
<li> The Joy of Writing </li>
<li> Meeting Interesting People </li>
<li> The Major Biographical Works </li>
Figure 2.15 shows how this example appears in a browser.
Figure 2.15: nested lists
Search WWH ::

Custom Search