Home >> FAQs/Tutorials >> XHTML Tutorials and Tips >> Index

XHTML 1.0 Tutorials - Understanding Lists and List Items

By: FYICenter.com

Part:   1  2  3   4  5  6  7  8  9 

(Continued from previous part...)

What Is a LI Tag/Element?

An "li" element is flow type element, which can be used only as a child element of "ol" and "ul" elements. An "li" element can be used to define a list item. Here are basic rules about "li" elements:

  • "li" elements can only be used as sub-elements of "ol" and "ul" elements.
  • "li" elements can have text contents.
  • "li" elements can have in-line elements as sub-elements.
  • "li" elements can have block elements as sub-elements.

(Continued on next part...)

Part:   1  2  3   4  5  6  7  8  9 


Selected Developer Jobs:

More...