1
Answer

What is difference between <strong> <b> tag and <em><i> tag?

What is difference between <strong> <b> tag and <em><i> tag?

Answers (1)
0
Shivam Payasi

Shivam Payasi

10 21.1k 27.3k 1y

The <strong> and <b> tags, as well as the <em> and <i> tags, are HTML tags that are used to apply formatting to text, but they have different semantic meanings.

  1. <strong> vs <b>:

    • <strong> is a semantic tag indicating that the enclosed text should be strongly emphasized. It implies that the text is of strong importance or seriousness.
    • <b> is a presentational tag that traditionally represents bold text. It doesn't carry any inherent semantic meaning about the importance of the enclosed text.