1. Computing

Discuss in my forum

<li></li>

By , About.com Guide

<li> Description:

The <li></li> element defines list items in a document.

<li> Web Browser Support:

<li> Attributes:

<li> End Tag:

</li> REQUIRED (optional in HTML 4.0)

<li> Contents:

HTML text. The following tags are valid within the <li> tag:
a, abbr, acronym, applet, b, basefont, bdo, big, br, button, cite, code, dfn, em, font, i, iframe, img, input, kbd, label, map, object, p, q, s, samp, script, select, small, span, strike, strong, sub, sup, textarea, tt, u, var

<li> Valid Context:

The <li> tag is valid within the following tags:
dir, menu, ol, ul

<li> Usage:

  • Standard <li>
    
    <ul>
    <li>Item one</li>
    <li>Item two</li>
    <li>Item three</li>
    </ul>
    

<li> Special Notes:

  • The ending tag is not required in HTML 4.0, and leaving it off makes it easier to add new elements. However, if you include it, you can be sure that your style commands are implemented correctly and you'll be writing valid XHTML.
  • Nested unordered lists change bullet types in many browsers.

More <li> Information:

©2013 About.com. All rights reserved.