How to Format HTML Content?

If you use a word processor, you must be familiar with the ability to make text bold, italicized, or underlined; these are just three of the ten options available to indicate how text can appear in HTML and XHTML.

Bold Text

Anything that appears within <b>…</b> element, is displayed in bold as shown below:

Sample

Result would be as followed.

The following word uses a bold typeface.

 

Italic Text

Anything that appears within <i>…</i> element is displayed in italicized as shown below:

Sample

Result would be as followed.

The following word uses a italicized typeface.

Close