The tag for a ordered list is <ol>
. Each list item is given as the content of the HTML Element <li>
. Thus the code we need is
<ol>
<li> Item 1.</li>
<li> Item 2.</li>
<li> Item 3.</li>
</ol>
We want to write a list of 3 hyperlinks to 3 local files and one hyperlink to a folder (directory) in your computer.
Remember, the code for a hyperlink is
For Mac:
<ul>
<li> <a href="file:///Users/you_user_name/Folder1/Folder2/file1.html"> File 1</a></li>
<li> <a href="file:///Users/you_user_name/Folder3/Folder2/file1.html"> File 2</a></li>
<li> <a href="file:///Users/you_user_name/Folder6/Folder8/file1.html"> File 3</a></li>
</ul>
</ul>
For Windows (assuming your 3 files live within the Documents folder of your disk D.):
<ul>
<li> <a href="file:///D:Documents/Users/you_user_name/Folder1/Folder2/file1.html"> File 1</a></li>
<li> <a href="file:///D:Documents/Folder3/Folder2/file1.html"> File 2</a></li>
<li> <a href="file:///D:Documents/Folder6/Folder8/file1.html"> File 3</a></li>
</ul>
</ul>
Note: You can post your result for comment on the Discussions section of QuickSchool. Alternatively you may send it to my email at msantos@dragonacademy.org.