HTML and CSS Reference
In-Depth Information
<!-- HTML5 Example -->
<details>
<dt> Important Note </dt>
<dd> This tag seems to be reused too much under HTML5! <dd>
</details>
<figure>
<dt> Moose Baby! </dt>
<dd>
<img src="desmond.jpg" alt="Desmond Baby" height="320" width="150">
<p> A photo of Desmond circa 2010. </p>
</dd>
</figure>
Compatibility
HTML 2, 3.2, 4, 4.01,5
XHTML 1.0, 1.1, Basic
Firefox 1+, Internet Explorer 2+,
Netscape 1+, Opera 2.1+, Safari 1+
Notes
• Under HTML specifications, including HTML5, the closing tag for this element is
optional, though using it is encouraged when it will help make the list more
understandable.
• Under XHTML 1.0, the closing </dd> tag is mandatory.
• This element occurs within a list of defined terms enclosed by a <dl> tag. Typically
associated with it is the term it defines, indicated by the <dt> tag that precedes it,
though it doesn't have to match because there are not correspondence requirements
for definition lists.
• Under HTML5, this element has an overloaded meaning and may also be used to
enclose the content within <details> and <figure> tags.
• In early versions of HTML5, this element occurred within a <dialog> tag for
indication of dialog.
• HTML 2 and 3.2 define no attributes for this element.
<del> (Deleted Text)
This element is used to indicate that text has been deleted from a document. A browser
might render deleted text as strikethrough text.
Standard Syntax
<del
cite="URL"
class="class name(s)"
datetime="date"
dir="ltr | rtl"
id="unique alphanumeric identifier"
Search WWH ::




Custom Search