Вы находитесь на странице: 1из 11

Prepared by: MARLON L.

LALAGUNA

List is a collection of items. HTML allows items to be listed in chronological order or list with no particular order. You can also list terms to be defined on the web page.
Ordered List

Unordered List
Defintion List

<ol></ol> <ul></ul> <dl></dl>

It is a list of items in chronological order. It is suited if the Web page needs to display steps or procedures. <ol></ol>

It I is the main wrapper of all list items. The default representation of the list is

number. Valid values for type attribute are I, i, A, a.

<li> must precede for each item you wish to list.

It is a list of items with no particular order. <ul></ul>

The default representation of this list is a disc. Valid values for type attribute are square,

disc, and circle. It uses the default type per level. First level is disc, the second level is circle, and third level is square.

<li> must precede for each item you wish to list.

It is suited for the page that contains terms to be defined. <dl></dl>

It is the main wrapper of all list items. The data are defined and automatically

indented.

<dt>
Following this tag treat as term to be defined.

<dd>
Following this tag treat as data or definition of

the term.

What is a Nested Tag? How will you create the source code of the following output:

Вам также может понравиться