Home >> FAQs/Tutorials >> XHTML Tutorials and Tips >> Index
XHTML Tutorial - List Item "li" Tag/Element
(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...)
- What Are List Elements?
- What Is an "ol" Tag/Element?
- What Is a "li" Tag/Element?
- Can Multiple Paragraphs Be Included in a List Item?
- What Is a "ul" Tag/Element?
- What Is a "dl" Tag/Element?
- Can List Elements Be Nested?
- How To Use Different Markers on Ordered List Items?
- How To Use Different Markers on Unordered List Items?
|