Webmaster

HTML : Text formatting
Contents ]
Jérôme Versavel

Simple Formatting

The simplest formatting is often the most frequently used-- - bold, italicized or underlined text-- - and also the least demanding since it only needs one tag. Let us Let's briefly review the use of tags.

Most of the tags are used as a pair of opening and closing tags, the latter being identifiable by its leading slash character /.

The three most frequently used formatting tags:

  • <B> Bold </B>: Bold

  • <I> Italic </I>: Italic

  • <U> Underlined </U>: Underlined

Example:

This text is <U>underlined</U>, then in <B>bold</B>, then in <I>italic</I> and lastly, with <U><B><I>the three attributes together </I></B></U>.

Here is the displayed result:

This text is underlined, then in bold, then in italic and lastly, with the three attributes together.

You now see how to use a pair of tags and that effects can be accumulated.



1   2   3   4   5   6   7