The HTML Elements reference

"dl" - html element

  • This element defines a definition list.
  • Starttag <dl> is Required and endtag </dl> is Required
  • An entry in the list is created using the 'dt' element for the term being defined and the 'dd' element for the definition of the term.
  • Browsers that support the dl - element : Internet Explorer Mozilla Firefox Opera Google Chrome Apple Safari
Element "dl" example:
<html>
<head>
<title>Definition Lists</title>
</head>
<body>
<h1>Lists in HTML</h1>
<dl>
<dt>This element defines a term </dt>
<dd>This element provides the definition of
a term.</dd>
<dd>This element provides the definition of
 a term.</dd>
<dd>This element provides the definition of
a term.</dd>
</dl>
</body>
</html>


Attributes:
class , compact (deprecated), dir , id , lang , style , title

Attribute "class" value(s): A list of style class names that must be separated by white space characters.
  • This attribute assigns a style class name or set of style class names to an element. Any number of elements may be assigned the same class name or names.
  • You will find more about this in the CSS learning on this site.



© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the correctness in the pages or source codes.
The risk of using this web-site pages or any program codes from this website is entirely at the individual user.