HTML .lt;kbd> tags
The label represents the text that the user enters from the keyboard, and you can learn about the label by following this example:Browser support
Most browsers currently support the hashtag.
Label definition and instructions for use
The label defines the keyboard text.
The label is an embedded element.
Tip: The label is obsolete and not recommended, but rich results can be achieved through CSS.
All label phrases:
标签 | 描述 |
---|---|
<em> | 呈现为被强调的文本。 |
<strong> | 定义重要的文本。 |
<dfn> | 定义一个定义项目。 |
<code> | 定义计算机代码文本。 |
<samp> | 定义样本文本。 |
<kbd> | 定义键盘文本。它表示文本是从键盘上键入的。它经常用在与计算机相关的文档或手册中。 |
<var> | 定义变量。您可以将此标签与 <pre> 及 <code> 标签配合使用。 |
The difference between HTML 4.01 and HTML5
No.
Global properties
The label supports global properties and views the full property sheet HTML global properties.
The event property
The label supports all HTML event properties.
Related articles
HTML tutorial: HTML text formatting