HTML and CSS Reference
In-Depth Information
Element/Attribute
Description
<del>ƒ</del>
Marks text as deleted from the document
ƒƒƒcite=”
url
”
Provides the URL for the document that has additional information about the
deleted text
ƒƒƒdatetime=”
date
”
Specifies the date and time of the text deletion
<details>ƒ</details>
Represents a form control from which the user can obtain additional informa-
tion or controls (HTML5)
ƒƒƒopen=”open”
Specifies that the contents of the details element should be shown to the user
<dfn>ƒ</dfn>
Marks the defining instance of a term
<dir>ƒ</dir>
Contains a directory listing (deprecated)
ƒƒƒcompact=”compact”
Permits use of compact rendering, if available (deprecated)
<div>ƒ</div>
Creates a generic block-level element
ƒƒƒalign=”
left
|center
ƒƒƒright|justify”
Specifies the horizontal alignment of the content (obsolete)
ƒƒƒdatafld=”
text
”
Indicates the column from a data source that supplies bound data for the block
(IE only)
ƒƒƒdataformatas=”htmlƒ
ƒƒƒ|plaintext|text”
Specifies the format of the data in the data source bound with the the button
(IE only)
ƒƒƒdatasrc=”
url
”
Provides the URL or ID of the data source bound with the block (IE only)
<dl>ƒ</dl>
Encloses a definition list using the dd and dt elements
ƒƒƒcompact=”compact”
Permits use of compact rendering, if available (obsolete)
<dt>ƒ</dt>
Marks a definition term in a definition list
ƒƒƒnowrap=”nowrap”
Specifies whether the content wraps using normal HTML line-wrapping
conventions
<em>ƒ</em>
Marks emphasized text
<embed>ƒ</embed>
Defines external multimedia content or a plugin (HTML5)
ƒƒƒalign=”
align
”
Specifies the alignment of the object with the surrounding content where
align
is bottom, left, right, or top (obsolete)
ƒƒƒheight=”
integer
”
Specifies the height of the object in pixels
ƒƒƒhspace=”
integer
”
Specifies the horizontal space around the object in pixels (obsolete)
ƒƒƒname=”
text
”
Provides the name of the embedded object (obsolete)
ƒƒƒsrc=”
url
”
Provides the location of the file containing the object
ƒƒƒtype=”
mime-type
”
Specifies the mime-type of the embedded object
ƒƒƒvspace=”
integer
”
Specifies the vertical space around the object in pixels (obsolete)
ƒƒƒwidth=”
integer
”
Specifies the width of the object in pixels
<fieldset>ƒ</fieldset>
Places form fields in a common group
ƒƒƒdisabled="disabled"
Disables the fieldset
ƒƒƒform="
id
"
The id of the form associated with the fieldset
ƒƒƒname="
text
"
The name part of the name/value pair associated with this element
<figcaption>ƒ</figcaption>
Represents the caption of a figure (HTML5)
<figure>ƒ</figure>
A structural element that represents a group of media content that is self-
contained along with a caption (HTML5)
<font>ƒ</font>
Formats the enclosed text (deprecated)
ƒƒƒcolor=”color”
Specifies the color of the enclosed text (deprecated)
ƒƒƒface=”textƒlist”
Specifies the font face(s) of the enclosed text (deprecated)
ƒƒƒsize=”integer”
Specifies the size of the enclosed text, with values ranging from 1 (smallest) to
7 (largest); a value of +integer increases the font size relative to the font size
specified in the basefont element (deprecated)