HTML Text Formatting

HTML Text Formatting

HTML Text Formatting is a process of formatting text for better look and feel. HTML provides us ability to format text without using CSS.

Making text Bold or Strong:

We can make the text bold using the <b> tag. The tag uses both opening and closing tag. The text that needs to be made bold must be within <b> and </b> tag.
We can also use the <strong> tag to make the text strong, with added semantic importance. It also opens with <strong> and ends with </strong> tag.

 

Making text Italic or emphasize:

The <i> tag is used to italicise the text. It opens with <i> and ends with </i> tag.
The <em> tag is used to emphasize the text, with added semantic importance. It opens with <em> and ends with </em> tag.

Please follow and like us:

Author: ilearnpoint

Leave a Reply

Your email address will not be published. Required fields are marked *