Applying Bold and Italic Formatting

 Applying Bold and Italic Formatting

Applying bold and italic styles are two ways of making text attractive. These styles are generally used in paragraphs rather than in headings.

For bold and italics text, use the <b> and <i> tags, respectively. These are two sided tags that enclose the text to be formatted.

If you want to apply both bold and italic formatting, you can nest one tag inside the other. When nesting tags, the rule first in, last out is used.