Exercise 2 – Creation of Ordered
and Unordered Lists
- Open Notepad and create a Web page called “Lists.htm” and save it in your HTML folder. In the <TITLE> tag add “Ordered and Unordered Lists”. Be sure to include all the proper opening and closing HTML tags that a Web page requires.
- Inside the opening and closing <BODY> tags insert the following code:
<HR>
<H2>Days
of the Week</H2>
<UL
type="square">
<LI>Monday</LI>
<LI>Tuesday</LI>
<LI>Wednesday</LI>
<LI>Thursday</LI>
<LI>Friday</LI>
<LI>Saturday</LI>
<LI>Sunday</LI>
</UL>
<H2> My
Favorite Things</H2>
<OL>
<LI
start="10">Dogs
<OL
type="i" >
<LI>Schnoodles</LI>
<LI>Mutts</LI>
</LI>
</OL>
<LI>Cars
<OL type="A">
<LI>Corvettes</LI>
<LI>Jaguars</LI>
</OL>
</LI>
</OL>
<HR>
Make sure you save your file periodically
as you put in your code to make sure all your code is saved. You will also need to make sure the file has
been saved before displaying it in a browser.
- Open the file in Internet Explorer. (Do not close Internet Explorer after you view the file.) The file should look like this:
- If the file does not display correctly, go back to your Notepad file and check that all code has been properly typed. Make any corrections you find. After making corrections, resave the file and go back and refresh your browser by either clicking on the “refresh” icon or going to View – Refresh in the menu bar. Keep repeating this process until your page displays properly in Internet explorer.

0 comments:
Post a Comment