A memo of HTML text formatting tags

HTML provides various tags which simplifies the task of text formatting.

Please find in the table below a briefing memo for these tags.

Formating tag Code Result
b <b>This text is bold</b> This text is bold
strong <strong>This text is strong</strong> This text is strong
em <em>This text is emphasized</em> This text is emphasized
i <i>This text is italic</i> This text is italic
small <small>This text is small</small> This text is small
sub This is <sub>subscript</sub> This is subscript
sup This is <sup>superscript</sup> This is superscript
pre <pre>
    var i = 0;
    for (i = 0; i &lt; 100; i++) {
var i = 0;
for (i = 0; i < 100; i++) {
code <code>These are computer codes</code> These are computer codes
kbd <kbd>This is keyboard input</kbd> This is keyboard input
samp <samp>This is sample text</samp> This is sample text
var Variable <var>addr</var> is defined. Variable addr is defined.
address <address>
5, Rue de l'Orangerie<br>
92190 Meudon
5, Rue de l’Orangerie
92190 Meudon
abbr I love <abbr title="HyperText Markup Language">HTML</abbr>. I love HTML.
rtl <bdo dir="rtl">Here is some Hebrew text</bdo> Here is some Hebrew text
blockquote From crealyx.fr:
<blockquote cite="http://crealyx.fr">
    Conception et design sur mesure
From crealyx.fr:

Conception et design sur mesure

q WWF's goal is to: <q>Build a future where...</q> WWF’s goal is to: Build a future where…
del <del>This text is deleted</del> This text is deleted

<ins>This text is inserted</ins> This text is inserted
mark <mark>This text is marked</mark> This text is marked
def <def>This text is deleted</def> This is a definition.