Creating an Unordered List in HTML

When coding in HTML, you may find a need to use the unordered list tag (<ul>) to style multiple menu items. A typical source code would look like this:<div id=”myList”>
<ul>
<li>List Item One</li>
<li>List Item Two</li>
<li>List Item Three</li>
</ul>

The stylesheet would look something like this:

<style type=”text/css”>
#myList ul {list-style:none}
#myList li { display:block; float: left; }
</style>.

Leave a Reply