• Skip to primary navigation
  • Skip to main content

Tech Honey

The #1 Website for Oracle PL/SQL, OA Framework and HTML

  • Home
  • HTML
    • Tags in HTML
    • HTML Attributes
  • OA Framework
    • Item in OAF
    • Regions in OAF
    • General OAF Topics
  • Oracle
    • statement
    • function
    • clause
    • plsql
    • sql
You are here: Home / HTML / Tags / HTML Dl Tag

HTML Dl Tag

August 10, 2013 by techhoneyadmin

HTML DL Tag <dl> is used to define a definition list.

DL tag is used with the HTML dd tag <dd> (characterize items in list of definitions) and with HTML dt Tag <dt> (name the items in the list of definition).

HTML dl tag is a closed tag and needs to be closed using HTML closing dl tag </dl>


Syntax of HTML DL Tag

<dl>
List goes here
</dl>

Example of HTML DL Tag

HTML dl Tag Code Output
<dl>
<dt>Sugar</dt>
<dd>Sweet in Taste</dd>
<dt>Salt</dt>
<dd>Salty in Taste</dd>
</dl>
Sugar
Sweet in Taste
Salt
Salty in Taste

In the example output observe that we have used the DL Tag to create a list of definitions having items as “Sugar” and “Salt” and respective properties in dd tag.

Also note the usage of HTML dd tag and HTML dt tag in the example.

HTML DL tag supports all HTML Global Attributes and HTML Event Attributes.


HTML DL Tag Supporting Browsers

S. No. Browser Supported(Yes/No)
1 Internet Explorer Yes
2 Firefox Yes
3 Google Chrome Yes
4 Opera Yes
5 Safari Yes

Filed Under: Tags Tagged With: Dl HTML, dl HTML tag, Dl tag, dl tag HTML, how to use html dl tag, HTML dl, HTML dl tag, HTML dl tag syntax and example, HTML tag dl, HTMLDlTag, Tag dl, Tag dl HTML, Tag HTML dl, using html dl tag, what is the use of HTML dl tag

Copyright © 2023 · Parallax Pro on Genesis Framework · WordPress · Log in