Definition item"; browsers usually use italics to display "< dfn>"."/> Definition item"; browsers usually use italics to display "< dfn>".">

Home >Web Front-end >Front-end Q&A >What does html dfn mean?

What does html dfn mean?

青灯夜游
青灯夜游Original
2021-12-23 14:48:163429browse

In HTML, dfn is a phrase tag, used to define a definition item. It can mark those definitions of special terms or phrases. The syntax "Definition item"; browse The browser usually displays the text in "" in italics.

What does html dfn mean?

The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.

In HTML, dfn is a phrase tag used to define a definition item.

Tags mark definitions of special terms or phrases.

Popular browsers usually display text in in italics. In the future, may also be useful in creating an index or glossary of documents.

Like many other content-based styling and physical style tags, the tag is best used sparingly. As a general style, especially in technical documentation, when new terms are introduced for the first time, they should be separated from the normal text so that the reader can better understand the current topic of the article and not be confused about it from then on. The term carries no markings.

Example:

<!DOCTYPE html>
<html>
<head> 
<meta charset="utf-8"> 
</head>
<body>

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

</body>
</html>

What does html dfn mean?

Related recommendations: "html video tutorial"

The above is the detailed content of What does html dfn mean?. 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