HTML text formatting
This text is bold
This text is italic
This is subscript and superscript
This text is italic
This is computer outputThis is subscript and superscript
HTML formatting tags
HTML uses the tags <b> and <i> to format the output text, such as bold or italic
These HTML tags are called formatted tabs (see the bottom full label reference manual).
| Usually <strong> replace the bold label <b> to use the <em> replace <i> tag to use. However, the meaning of these tags is different: <b> and <i> define bold or italic text. <Strong> or <em> means that the text you want to render is important, so highlight it. Now all the major browsers can render various effects of the font. However, future browsers may support better rendering. |
HTML text formatting tags
| Tag | description |
|---|---|
| <b> | Define bold text |
| <em> | Define the focus text |
| <i> | Defines italics |
| <small> | Defines the trumpet word |
| <strong> | Define your tone |
| <sub> | Defines the subscript word |
| <sup> | Defines the upper mark |
| <ins> | Defines the insertion word |
| <del> | Defines the deleted word |
HTML "Computer Output" tab
| Tag | description |
|---|---|
| <code> | Defines the computer code |
| <kbd> | Defines the keyboard code |
| <samp> | Defines the computer code sample |
| <var> | Defines the variable |
| <pre> | Defines preformat text |
HTML citations, references, and tag definitions
| Tag | description |
|---|---|
| <abbr> | Define abbreviations |
| <address> | Defines the address |
| <bdo> | Defines the direction of the text |
| <blockquote> | defines long references |
| <q> | Define short quotes |
| <cite> | Defines references, citations |
| <dfn> | Defines a defined item. |