Different Worlds: An Introduction to HTML

Appendix A: Example Files

FILE3.HTML : Using lists

Copy and paste, or type, the HTML code shown below into your text editor, and save it as "file3.html":

<html>
<head>
<title>(file3.html) Using lists</title>
</head>
<body>
<h1> HTML Files</h1>
<p>There are two main sections in an HTML file:</p>
<ol>
  <li>HEAD</li>
  <li>BODY</li>
</ol>
<p>Some HTML elements we have used are:</p>
<ul>
  <li>headings: h1 and h2</li>
  <li>paragraphs: p</li>
  <li>lists:<br>
  <ul>
    <li>unordered lists: ul</li>
    <li>ordered lists: ol</li>
  </ul>
  </li>
</ul>
</body>
</html>

Alternatively, this link leads to a copy of this file, already created for you.

Return to the tutorial or return to the list of example files.


Valid HTML 4.01

http://www.users.zetnet.co.uk/dms/htmlguide/app-a03.html
© 1998-2001 Donna Smillie <dms@zetnet.co.uk>