loading...

About PanditProgrammer

PanditProgrammer is a Modern Personal Portfolio Website of Chandan Prajapati. We offer Software development services. Turn your idea into digital product.

Subscribe & Follow

<b>, <strong>,<i>,<em>

Text formatting tags in html

The <b>, <strong>, <i>, and <em> tags in HTML5 are used to format text. These tags provide emphasis to text, and are used to indicate important or contrasting text.

b Tag

The <b> tag is used to bold text. It is a presentational tag and does not convey any semantic meaning to the text. For example:

<p>This is a <b>bold</b> text.</p>

strong tag

The <strong> tag is used to give strong importance to text. It is a semantic tag and conveys meaning to the text, indicating that it is more important than the surrounding text. For example:

<p>This is a <strong>strong</strong> text.</p>

i tag

The <i> tag is used to italicize text. It is a presentational tag and does not convey any semantic meaning to the text. For example:

<p>This is an <i>italic</i> text.</p>

em tag

The <em> tag is used to emphasize text. It is a semantic tag and conveys meaning to the text, indicating that the text should be emphasized in some way. For example:

<p>This is an <em>emphasized</em> text.

Color Settings