Home  >  Article  >  Web Front-end  >  How to use html dfn tag

How to use html dfn tag

藏色散人
藏色散人Original
2019-05-26 15:44:293788browse

html The dfn tag is a phrase tag used to define a definition item. If you only use this tag to achieve a certain visual effect, we recommend that you use CSS, which may achieve richer effects.

How to use html dfn tag

html How to use the dfn tag?

##Tag definition and usage instructions

The 7f9d788ef50b059a7f76f3d2e4ccc9d1 tag is a phrase tag used to define a definition item. The 7f9d788ef50b059a7f76f3d2e4ccc9d1 tag is supported by all major browsers.

Tips: We do not object to the use of this tag, but if you only use this tag to achieve a certain visual effect, we recommend that you use CSS, which may achieve richer Effect.

All phrase tags:

<em>呈现为被强调的文本。
<strong>定义重要的文本。
<dfn>定义一个定义项目。
<code>定义计算机代码文本。
<samp>定义样本文本。
<kbd>定义键盘文本。它表示文本是从键盘上键入的。它经常用在与计算机相关的文档或手册中。
<var>定义变量。您可以将此标签与 <pre class="brush:php;toolbar:false"> 及 <code> 标签配合使用。

Differences between HTML 4.01 and HTML5: None.

Global attributes

7f9d788ef50b059a7f76f3d2e4ccc9d1 tag supports HTML global attributes.

Event attributes

7f9d788ef50b059a7f76f3d2e4ccc9d1 tag supports HTML event attributes.

Example

Format the text in the document:

<em>强调文本</em><br>
<strong>加粗文本</strong><br>
<dfn>定义项目</dfn><br>
<code>一段电脑代码</code><br>
<samp>计算机样本</samp><br>
<kbd>键盘输入</kbd><br>
<var>变量</var>

Effect:

##

The above is the detailed content of How to use html dfn tag. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn