📜  HTML code标签

📅  最后修改于: 2020-11-04 00:50:47             🧑  作者: Mango

HTML 标签

HTML tag标签用于表示计算机代码。它是定义一段计算机代码的短语标签。默认情况下,它以浏览器默认的monospace字体(也称为固定宽度字体)显示。.

HTML 标签列表

Tag Description
displays emphasized text
displays important text
defines a definition term
defines a piece of computer code
specifies a sample output from a computer program
defines keyboard input
defines a variable

HTML标签示例,包括代码标签

It is inside em tag.
It is inside strong tag.
It is inside dfn tag.
It is inside code tag.
It is inside samp tag.
It is inside kbd tag.
It is inside var tag.

输出:

支持的浏览器

Element chrome browser Chrome ie browser IE firefox browser Firefox opera browser Opera safari browser Safari
Yes Yes Yes Yes Yes