LIST
LIST
Ordered list can have following values in its Type attribute- <OL type= “I /i / A/ a/ 1/01”>
EXAMPLE 4
OUTPUT
OUTPUT
CONT…
Start attribute of ordered list-
It is used to start a specific list from any number other than “1 / 01 / A / a / I / i”
OUTPUT
WHEN OL TAG IS USED WITH START
3. DIFINITION LIST
Used for making glossaries.
A glossary consist of a term and a definition.
Helps in listing data terms and data definitions similar to dictionary.
Tags used-
<DL>…</DL> - DEFINITION LIST
<DT>…</DT>- DATA TERM
<DD>…</DD> - DATA DEFINITION
OUTPUT
OUTPUT
One html document can have
more than one list and also
they can have different types
of lists.
NESTED LIST
One list can contain another list. Or a list could be contained within another list.
Also one type of list could be contained in another type of list i.e. ordered list could be
contained in an unordered list and vice-a-versa.
EXAMPLE 10
OUTPUT
4. DIRECTORY LIST