Version-//W3C//DTD HTML 4.01//EN
ElementDT
Purposedefinition term
DescriptionThis element is used to define a term in a definition list, a list of terms enclosed by DL and definitions of those terms defined by DD.
Start tagRequired <DT>
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( #PCDATA | TT | I | B | BIG | SMALL | EM | STRONG | DFN | CODE | SAMP | KBD | VAR | CITE | ABBR | ACRONYM | A | IMG | OBJECT | BR | SCRIPT | MAP | Q | SUB | SUP | SPAN | BDO | INPUT | SELECT | TEXTAREA | LABEL | BUTTON )*
End tagOptional </DT>
Referenced in DL
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