HTML - Tags - <dl>

#41 of 147
dl
Next dt
Prev div

 <html>
 <body>
     <dl>
         <!-- Router -->
         <dt>
             <dfn id="def-router">Router</dfn>
         </dt>
         <dd>
             A device used to deliver packets between computer networks.
         </dd>
         <!-- DNS -->
         <dt>
             <dfn id="def-dns">
                 <abbr title="Domain Name System">DNS</abbr>
             <dfn>
         </dt>
         <dd>
             A protocol to convert between domain names and IP addresses.
         </dd>
     </dl>
     <p>
         Does my <a href="#def-router">router</a>
         support <a href="#def-dns">DNS</a>?
     </p>
 </body>
 </html>
 

The dl element represents a definition list, a glossary of terms and descriptions.

dl is a definition list.

dt is a definition term.

dfn is a definition.

dd is a definition description.

A live example:


Router
A device used to deliver packets between computer networks.
DNS
A protocol to convert between domain names and IP addresses.

Does my router support DNS?


N of

Ads by Google


Ask a question, send a comment, or report a problem - click here to contact me.

© Richard McGrath