|
|
|
Data Lists in html |
|
Unlike Ordered and UnOrdered lists, data lists marks its elements by indentation.
Data lists can be defined using <DL> ... </DL> tags. The tag <DL> indicates the start of a data list while </DL> indicates the end of the data list.
Attributes of <DL> .. </DL> :
<DT>: DT stands for Definition Term. This tags will be enclosed in <DL> ... </DL> tags alternatively.
<DD>: DD stands for Definition Description. This tags will be enclosed in <DL> ... </DL> tags alternatively.
Example:
<DL>
<DT> Definition Term 1
<DD> Definition Description 1
<DD> Definition Description 2
<DT> Definition Term 2
<DD> Definition Description 1
<DD> Definition Description 2
</DL>
This datalist will be displayed as
- Definition Term 1
- Definition Description 1
- Definition Description 2
- Definition Term 2
- Definition Description 1
- Definition Description 2
Lists In HTML
| Ordered Lists
| UnOrdered Lists
| Data Lists
| |
| Subscribe |
|
Submit your email address and receive
article and product notifications. Your email is safe with us.
|
|
|
|
|
|