With description list, we have to use three HTML tags named : <dl> - description list , <dt> - name of description list and <dd> - description of name.
OUTPUT:
HTML DL-Description List Example |
<dl>
<dt>OL tag</dt>
<dd>OL stands for Ordered List</dd>
<dt>UL tag</dt>
<dd>UL stands for Unordered List</dd>
<dt>DL tag</dt>
<dd>DL stands for Description List</dd>
</dl>
<dt>OL tag</dt>
<dd>OL stands for Ordered List</dd>
<dt>UL tag</dt>
<dd>UL stands for Unordered List</dd>
<dt>DL tag</dt>
<dd>DL stands for Description List</dd>
</dl>
OUTPUT:
- OL tag
- OL stands for Ordered List
- UL tag
- UL stands for Unordered List
- DL tag
- DL stands for Description List
0 comments :
Post a Comment