HTML Lessons - Displaying Text Formatting in HTML
Return to HTML Lessons


Text Formatting
TagFunctionExample
<small>small TextThis is an example.
<big>big TextThis is an example.
<super>superscriptThis is an example.
<sub>subscriptThis is an example.
<strike>strike-throughThis is an example.
<u>UnderlineThis is an example.
<tt>Monospaced typewriter fontThis is an example.
<pre>Monospaced font, preserving spaces and line breaks
This is an example.
<i> or <em>Italics or emphasized TextThis is an example.
<b> or <strong>Bold or strong TextThis is an example.


Top of Page