11.9.1. HTML text formatting ¶
Bold text
Italic text
HTML uses tags < b > (“bold”) and < I > (“italic”) to format the output text, such as bold or italics These HTML tags are called formatting tags (see the complete tag reference manual at the bottom). Usual label Label Description < b > Define bold text < em > Define emphasis text < I > Define italics < small > Define a small word < strong > Define the emphasis mood < sub > Define subscript < sup > Define superscript < ins > Define insert word < del > Define delete word Label Description < code > Define computer code < kbd > Define keyboard code < samp > Define computer code samples < var > Define variable < pre > Define preformatted text Label Description < abbr > Define abbreviations < address > Define addr < bdo > Define text orientation < blockquote > Define long references < Q > Define a short quotation < cite > Define citation, citation < dfn > Define a definition project.
Computer
automatic
output
is subscript and superscript HTML formatting label ¶
<strong>
replace bold label
<b>
to use
<em>
replace
<i>
label use. However, the meanings of these labels are different:
<b>
and
<i>
defines bold or italic text.
<strong>
or
<em>
means that the text you want to present is important, so highlight it. All major browsers today can render fonts with various effects. However, browsers may support better rendering in the future.HTML text formatting label ¶
HTML computer output label ¶
HTML citations, citations, and tag definitions ¶