Use <strong> to create strong importance text. Use <b> to create bold text.
Use <em> to create emphasized text. Use <i> to create italic text.
Use <del> to create text that has been deleted from a document. Use <s> to create text with a strikethrough.
Use <ins> to create text that has been added to a document. Use <u> to create text with an underline.
Use <small> to create small text. Use <sub> to create text that lower and smaller than the main text. Use <sup> to create text that higher and smaller than the main text.
Use <code> to create fragments of computer code: alert(‘Hello World’);. Use <kbd> to create the defining instance of a term: Ctrl + D. Use <samp> to create sample output from a computer: Build passed!.
Use <br/> to create line breaks.
Use <span> to create inline container: I love Mobi.css.
Use <abbr> to create abbreviation elements.
<abbrtitle="The HTML <abbr> element (or HTML Abbreviation Element) represents an abbreviation and optionally provides a full description for it.">abbreviation elements</abbr>
Use <data> to link a given content with a machine-readable translation: Beijing.
<datavalue="100000">Beijing</data>
Use <time> to create time: .
<timedatetime="2016-09-30T00:00">Sep 30</time>
Use <q> to create inline quotations: I love Mobi.css, xcatliu said.
<q>I love Mobi.css</q>, xcatliu said.
Use <ruby>, <rp>, <rt> to create ruby annotations:
我
去
洗
澡
了
<ruby>
我 <rp>(</rp><rt>lǎn</rt><rp>)</rp>
去 <rp>(</rp><rt>de</rt><rp>)</rp>
洗 <rp>(</rp><rt>lǐ</rt><rp>)</rp>
澡 <rp>(</rp><rt>nǐ</rt><rp>)</rp>
了 <rp>(</rp><rt>le</rt><rp>)</rp>
</ruby>
Use <bdi> to create text that be formatted in a DIFFERENT DIRECTION from other text outside it. Use <bdo> to OVERRIDE the current directionality of text.
text that be formatted in a <bdi>DIFFERENT DIRECTION</bdi> from other text outside it.
<bdodir="rtl">OVERRIDE</bdo> the current directionality of text.
<bdi> is not working in iOS and Chrome. Don’t use it in your project, use <bdo> instead.
Use <dfn> to create a defining instance of a term: Mobi.css is a lightweight, flexible css framework that focus on mobile. What is Mobi.css? You can find the definition here.
<dfnid="dfn-mobicss">Mobi.css</dfn> is a lightweight, flexible css framework that focus on mobile.
What is Mobi.css? You can find the definition <ahref="#dfn-mobicss">here</a>.
Use <var> to create a variable in a mathematical expression or a programming context: A simple equation: x = y + 2
A simple equation: <var>x</var> = <var>y</var> + 2
Use <wbr> to create a position within text where the browser may optionally break a line, though its line-breaking rules would not otherwise create a break at that location: