html li tag

In the html <li> tag is used to details a list item for menu list, directory, ordered and unordered and also you can join with inside of <ol>,<ul> and <menu> tag. All main browser supported in <li> tag.

The <li> tag optional attributes are type,value and standard attributes are class, dir, id, lang, style, title, xml:lang and event attributes are onclick, ondblclick, onmousedown, onmousemove,onmouseout ,onmouseover, onmouseup, onkeydown, onkeypress, onkeyup.


<li> ... </li>

Example Code

  <li>Javelin Car </li>
  <li>Jetta Car </li>
  <li>Kodiak Car </li>

  <li>Mirage Car </li>
  <li>Ford Car </li>
  <li>Fox Car </li>

  <li>Club Wagon Car </li>
  <li>Colorado Car</li>
  <li>Colt Car</li>

Out Put:

  1. Javelin Car
  2. Jetta Car
  3. Kodiak Car
  • Mirage Car
  • Ford Car
  • Fox Car
  • Club Wagon Car
  • Colorado Car
  • Colt Car
  • In the above example has been added car list for <ol>,<ul> and <menu> tag.