Posted The: 23/05/2008 At: 14:15
Last Edited: 15/08/2008 At: 18:49
Contents:
They are both useful to make your pages more accessible for screen readers. Used right, you don't need to enclose your lists, or navigation menus in division tags, since ol and ul are block level elements, you can use them to your advantage.
<ol> <li><a href="http://www.blueboden.com/"></a></li> </ol>
The above is a list with a simple link, and shows how to use ol together with li tags, li stands for list item. For each item you need an additional li around it, example below:
<ul> <li><h3>Heading</h3></li> <li><p>Item 1</p></li> <li><p>Item 2</p></li> </ul>
Note.You are also allowed to use headings and paragraphs inside li tags, like done above.
Comments: [0]
© Brugbart Webdesign