Version-//W3C//DTD HTML 4.01//EN
ElementDL
Purposedefinition list
DescriptionThis element is used to define a definition list, a list of terms defined by DT and definitions of those terms defined by DD.
Start tagRequired <DL>
Attributes
NameTypeDefaultComment
class CDATA #IMPLIEDspace-separated list of classes
dir( ltr | rtl )#IMPLIEDdirection for weak/neutral text
idID#IMPLIEDdocument-wide unique id
lang NAME #IMPLIEDlanguage code as RFC1766; language code
onclick CDATA #IMPLIEDscript expression; a pointer button was clicked
ondblclick CDATA #IMPLIEDscript expression; a pointer button was double clicked
onkeydown CDATA #IMPLIEDscript expression; a key was pressed down
onkeypress CDATA #IMPLIEDscript expression; a key was pressed and released
onkeyup CDATA #IMPLIEDscript expression; a key was released
onmousedown CDATA #IMPLIEDscript expression; a pointer button was pressed down
onmousemove CDATA #IMPLIEDscript expression; a pointer was moved within
onmouseout CDATA #IMPLIEDscript expression; a pointer was moved away
onmouseover CDATA #IMPLIEDscript expression; a pointer was moved onto
onmouseup CDATA #IMPLIEDscript expression; a pointer button was released
style CDATA #IMPLIEDstyle sheet data; associated style info
title CDATA #IMPLIEDtext; advisory title
Content( DT | DD )+
End tagRequired </DL>
Referenced in BLOCKQUOTE BODY BUTTON DD DEL DIV FIELDSET FORM INS LI MAP NOSCRIPT OBJECT TD TH
Example
SourceAppearance
<DL>
<DT>SGML
<DD>Standard Generalized Markup Language
<DT>HTML
<DD>Hypertext Markup Language
<DT>XHTML
<DD>Extensible HyperText Markup Language
</DL>
SGML
Standard Generalized Markup Language
HTML
Hypertext Markup Language
XHTML
Extensible HyperText Markup Language
search Search · star Market
2023-06-19 · John December · Terms © johndecember.com