Download presentation
Presentation is loading. Please wait.
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>
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.