HTML and CSS Reference
In-Depth Information
Element/Attribute
Description
<thead>ƒ</thead>
Encloses the content of the Web table header
ƒƒƒalign=”
align
”
Specifies the alignment of the contents in the cells of the table header where
align
is left, center, right, justify, or char (obsolete)
ƒƒƒchar=”
char
”
Specifies the character used for aligning the table header contents when the
align attribute is set to “char” (obsolete)
ƒƒƒcharoff=”
integer
”
Specifies the offset in pixels from the alignment character specified in the char
attribute (obsolete)
ƒƒƒvalign=”
align
”
Specifies the vertical alignment of the contents in the cells of the table header
where
align
is baseline, bottom, middle, or top (obsolete)
<time>ƒ</time>
Represents a date and/or time (HTML5)
<title>ƒ</title>
Specifies the title of the document, placed in the head section of the document
<tr>ƒ</tr>
Encloses the content of a row within a Web table
ƒƒƒalign=”
align
”
Specifies the horizontal alignment of the data in the row's cells where
align
is
left, center, or right (obsolete)
ƒƒƒchar=”
char
”
Specifies the character used for aligning the table row contents when the align
attribute is set to “char” (obsolete)
ƒƒƒcharoff=”
integer
”
Specifies the offset in pixels from the alignment character specified in the char
attribute (obsolete)
ƒƒƒvalign=”
align
”
Specifies the vertical alignment of the contents of the table row where
align
is
baseline, bottom, middle, or top (obsolete)
<track>ƒ</track>
Enables supplementary media tracks such as subtitles and captions (HTML5)
ƒƒƒdefault="default"
Enables the track if the user's preferences do not indicate that another track
would be more appropriate
Specifies the kind of track, where
kind
is subtitles, captions, descriptions, chap-
ters, or metadata
ƒƒƒkind="
kind
"
ƒƒƒlabel="
text
"
Provides a user-readable title for the track
ƒƒƒsrc="
url
"
Provides the address of the track
ƒƒƒsrclang="
lang
"
Provides the language of the track
<tt>ƒ</tt>
Marks the enclosed text as teletype or monospaced text (deprecated)
<u>ƒ</u>
Marks the enclosed text as underlined text (deprecated)
<ul>ƒ</ul>
Contains an unordered list of items
ƒƒƒcompact=”compact”
Reduces the space between unordered list items (obsolete)
ƒƒƒtype=”
disc
|square|
ƒƒƒcircle”
Specifies the bullet type associated with the list items (obsolete)
<var>ƒ</var>
Marks the enclosed text as containing a variable name
<video>ƒ</video>
Defines an embedded video clip (HTML5)
ƒƒƒaudio="
text
"
Defines the default audio state; currently only "muted" is supported
ƒƒƒautoplay="autoplay"
Specifies that the video should begin playing automatically when the page is
loaded
ƒƒƒcontrols="controls"
Instructs the browser to display the video controls
ƒƒƒheight="
value
"
Provides the height of the video clip in pixels
ƒƒƒloop="loop"
Instructs the browser to loop the clip back to the beginning
ƒƒƒpreload="auto|
ƒƒƒmetadata|none"
Indicates whether to preload the video clip data
ƒƒƒposter="
url
"
Specifies the location of an image file to act as a poster for the video clip
ƒƒƒwidth="
value
"
Provides the width of the video clip in pixels