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

XHTML Tutorial - List Item "li" Tag/Element

By: FYIcenter.com

(Continued from previous topic...)

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 topic...)

  1. What Are List Elements?
  2. What Is an "ol" Tag/Element?
  3. What Is a "li" Tag/Element?
  4. Can Multiple Paragraphs Be Included in a List Item?
  5. What Is a "ul" Tag/Element?
  6. What Is a "dl" Tag/Element?
  7. Can List Elements Be Nested?
  8. How To Use Different Markers on Ordered List Items?
  9. How To Use Different Markers on Unordered List Items?


Selected Developer Jobs:

More...