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”>
<li>List Item One</li>
<li>List Item Two</li>
<li>List Item Three</li>

The stylesheet would look something like this:

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

Leave a Reply