HTML.lt;dfn-gt; tags
Labels can mark definitions of specific terms or phrases.
The element is an inline element.
Browser support
All major browsers support the hashtag.
Label definition and instructions for use
A tag is a phrase label that defines a particular term or phrase.
Tip: We're not against using this label, but if you're using it just to achieve some visual effect, we recommend using CSS, which might lead to richer results.
All phrase tags:
标签 | 描述 |
---|---|
<em> | 呈现为被强调的文本。 |
<strong> | 定义重要的文本。 |
<dfn> | 定义特殊术语或短语 。 |
<code> | 定义计算机代码文本。 |
<samp> | 定义样本文本。 |
<kbd> | 定义键盘文本。它表示文本是从键盘上键入的。它经常用在与计算机相关的文档或手册中。 |
<var> | 定义变量。您可以将此标签与 <pre> 及 <code> 标签配合使用。 |
The difference between HTML 4.01 and HTML5
No.
Global properties
The label supports the global properties of HTML.
The event property
The tag supports the event properties of HTML.
Related articles
HTML tutorial: HTML text formatting
HTML5 tutorial: HTML phrase elements