
The Complete Idiot's HTML Tag Reference
| Index
| Previous Tag: <DL>
| Next Tag: <EM>
|
<DT>
The definition term part of a definition list entry (see <DL>).
Support:
-
Notes:
- Most browser render <DT> text flush with the left margin.
- Many Webmaster add bolding to the term to make it stand out more.
Attributes:
- CLASS
= "Text"
The style sheet class used by the tag.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
3.0 and later |
4.0 and later |
Notes:
-
You can specify two or more classes; be sure to separate each class name with a space.
- CLEAR
= "Text"
Determines whether the <DT> text appears after an image if text is currently being wrapped around that image.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
Not supported |
Not supported |
Notes:
-
This attribute appeared briefly in HTML 3.0, but then disappeared.
- ID
= "Text"
An alphanumeric string that uniquely identifies the tag.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
3.0 and later |
4.0 and later |
Notes:
-
Although you can use letters and numbers for the ID, the first character must be a letter.
- LANG
= "Text"
The language used by the tag's attribute values and text content.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
4.0 and later |
Not supported |
- NOWRAP
= "True/False"
Controls whether the text is automatically wrapped at the right edge of the browser window.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
Not supported |
Not supported |
Notes:
-
If you set this attribute to True, the browser will only start a new line when you use the <BR> tag.
- STYLE
= "Text"
The style or styles to use with the tag.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
3.0 and later |
4.0 and later |
Notes:
-
If you enter multiple style properties, separate each one with a semi-colon (;).
Example:
<DL>
<DT><B>Dancing baloney</B>
<DD>Web page-based animated images, Java applets,
and other bells and whistles that are not only useless, but also
detract from the overall quality of the page.
</DL>
How It Looks:
- Dancing baloney
- Web page-based animated images, Java applets,
and other bells and whistles that are not only useless, but also
detract from the overall quality of the page.
| Index
| Previous Tag: <DL>
| Next Tag: <EM>
|
|