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 

A collection of 9 FAQs/tutorials tips on XHTML list elements and list items. Clear answers are provided with tutorial examples on list elements for ordered lists, unordered lists, and definition lists; creating nested lists; including multiple paragraphs in one list item; changing list item markers. Topics included in this collection are:

  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?

Please note that all notes and tutorials are based on XHTML 1.0 specification.

What Are List Elements?

XHTML 1.0 offers 3 list elements:

  • "ol" - Ordered List: A list of items with leading sequential numbers.
  • "ul" - Unordered List: A list of items with leading bullets.
  • "dl" - Definition List: A list of items with leading terms.

Here are some generic rules about list elements:

  • List elements are block level elements.
  • List elements can not have text contents.
  • A list element must have at least one list item element.
  • List item elements are flow type elements, which allows both block level and inline level elements as its sub-elements.

(Continued on next part...)

Part:   1   2  3  4  5  6  7  8  9 


Selected Developer Jobs:

More...