Documentation
SPHPlayground manual
sphplayground
sphplayground

HTML Lists

This namespace contains object oriented implementations of HTML lists.

HTML lists are used to present list of information in well formed and semantic way. There are three different types of list (unordered, ordered and definition) in HTML and each one has a specific purpose and meaning.

**Note:**

Inside a list item you can put text, images, links, line breaks, etc. You can also place an entire list inside a list item to create the nested list.

Standard Lists

The Unordered List

Unrdered lists are used to create a list of related items, in no particular order. The Ul class implements the <ul> HTML tag.

The Ordered List

An ordered list is used to create a list of related items, in a specific order. It supports indexing in the generated HTML output. This indexing can be numerical or alphabetical. The Ol class implements the <ol> HTML tag.

  1. prepended
  2. appended
  3. appended hyperlink

The Definition List

A Definition List is a list of items with a description or definition of each item. The Dl class implements the <dl> HTML tag.

The Dl component is a list of Dt terms and Dd descriptions for thee terms. Dt - Dd groups may be terms and definitions, metadata topics and values, questions and answers, or any other groups of name-value data.

Browsers usually render the definition lists by placing the terms and definitions in separate lines, where the term's definitions are slightly indented.

Term:
first description
second description
third description: three