11.9.1. HTML text formatting ¶
Bold text
Italic text
Computer automatic output is subscript and superscript
HTML formatting label ¶
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 replace bold label to use replace label use. However, the meanings of these labels are different: and defines bold or italic text. or 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 ¶
| 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 |
HTML computer output label ¶
| Label | Description |
|---|---|
| < code > | Define computer code |
| < kbd > | Define keyboard code |
| < samp > | Define computer code samples |
| < var > | Define variable |
| < pre > | Define preformatted text |
HTML citations, citations, and tag definitions ¶
| 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. |