HTML5 tags you don't know All In One
HTML5 tags you don't know All In One
a collection of html5 tag very little be used in practices
semantic element
SEO & Accessibility
HTML var
tag
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/var
<table width="100%">
<tbody>
<tr>
<td id="eqnoc2"><var>E</var> = <var>m</var><var>c</var><sup>2</sup></td>
</tr>
</tbody>
</table>
E = mc2 |
sup
tag
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sup
<p><var>a<sup>2</sup></var> + <var>b<sup>2</sup></var> = <var>c<sup>2</sup></var></p>
a2 + b2 = c2
sub
tag
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sub
H<sub>2</sub>O
H2O
kbd
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd
<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>F</kbd>
Ctrl+Shift+F
<p>Press <kbd>Ctrl</kbd> + <kbd>C</kbd> to copy text (Windows).</p>
Press Cmd + C to copy text (Mac OS).
b
some<b>bold</b>text
someboldtext
cite
ins
del
blockquote
optgroup / datalist
code
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code
samp
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/samp
wbr
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr
ruby
HTML
<ruby>
元素表示一个红宝石注释; Ruby注释用于显示东亚字符
的发音
。
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ruby
<ruby>
汉 <rp>(</rp><rt>han</rt><rp>)</rp>
字 <rp>(</rp><rt>zi</rt><rp>)</rp>
</ruby>
汉
字
dfn
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dfn
<p>A <dfn id="def-validator">validator</dfn> is a program that checks for syntax errors in code or documents.</p>
A validator is a program that checks for syntax errors in code or documents.
abbr
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr
<p>You can use <abbr title="Cascading Style Sheets">CSS</abbr> to style your <abbr title="HyperText Markup Language">HTML</abbr>.</p>
You can use CSS to style your HTML.
acronym(已废弃)
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/acronym
refs
https://www.w3schools.com/TAGS/default.ASP
©xgqfrms 2012-2020
www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/12997017.html
未经授权禁止转载,违者必究!