Presentation is loading. Please wait.

Presentation is loading. Please wait.

LISTS.

Similar presentations


Presentation on theme: "LISTS."— Presentation transcript:

1 LISTS

2 Introduction to Lists (1)
Lists are of three types Ordered (numbered) lists are marked with the <ol> tag Unordered (bulleted) lists are marked with the <ul> tag List items <li> appear inside the above tags Lists can be nested

3 Ordered List (Example)
<ol> <li>First</li> <li>Second</li> <li>Third</li> <li>Fourth</li> </ol>

4 Unordered List (Example)
<ul> <li>First</li> <li>Second</li> <li>Third</li> <li>Fourth</li> </ul>

5 Nested List A List inside of a list <ol>
<li>First <ul> <li>Child 1</li> <li>Child 2</li> <ul> </li> <li>Second</li> </ol>

6 Definition Lists (Introduction)
The <dl> element marks a definition list Again, these are newer semantic tags The inner <dt> and <dd> element pairs mark the term and its value

7 Definition Lists (Example)
<dl> <dt>Term</dt> <dd>Definition of Term</dd> <dt>Second Term</dt> <dd>Definition of Second Term</dd> </dl>


Download ppt "LISTS."

Similar presentations


Ads by Google