HTML.lt;em> tags
Labels are used to mark highlighted text, and you can nest them, with each level of nesting representing a greater degree of emphasis.Browser support
All major browsers support the hashtag.
Label definition and instructions for use
A label is a phrase label that is used to render the text that is emphasized.
The text in the label is displayed in italics, but in the end don't use the label just for italic effects.
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
Labels support the global properties of HTML.
The event property
The tag supports the event properties of HTML.
Related articles
HTML tutorial: HTML text formatting