RuskFamily.com ... the Legend Continues Practice Page
| Home | HTML Guide Start | List of HTML Elements | Next Element | Previous Element |

<LI></LI>

Defines a list item


Element used to define a list item within the confines of ul, ol, dir and menu elements. It would be noted that the dir and menu elements aren't used much and usually browsers treat them just like ul. They're just here out of respect for their age.

	<html>
	<head>
	<title>A List</title>
	</head>
	<body>
	  .
	  .
	<ul>
==>>	  <li>Apples</li>
==>>	  <li>Bananas</li>
==>>	  <li>Oranges</li>
	</ul>
	  .
	  .
	</body>
	</html>

HTML 3.2 Final

The li element can contain lists of it's own, so you can knock yourself out doing this element.

style
You're supposed to be able to set the bullet style on your list items by specifying one of disc, square or circle. I haven't played with this so I assume it works.
value
Used to set a specific number value for the item in an ordered list. Must be an integer.

Netscape

Nothing special.

Microsoft Internet Explorer

Nothing special.

Internationalization

Nothing special.

| Home | HTML Guide Start | List of HTML Elements | Next Element | Previous Element |

Michael T. Rusk
Comments to author: mike@ruskfamily.com

All contents copyright © 1996-2001 Michael T. Rusk
All rights reserved.

Valid HTML 4.01!   Valid CSS!

Revised: Sunday, December 30, 2007 11:06 -0500
URL: ./htmlgd/tagli.html