tags doubt | SoloLearn: Learn to code for FREE!

0

tags doubt

what is the difference between the <b> tag and <strong> tag can we use any one from this

4/23/2020 7:04:50 AM

AyAANJAVED

4 Answers

New Answer

+3

these are old html elements, don't use them anymore use span, assign a class name to the span element, and use css property font-weight

+3

The <b> tag makes the text 'bold' and the <strong> tag makes the text 'important'. This is the only difference between them.

+2

Both <b> and <strong> make text bold. But <strong> highlight text as important. If you want to highlight unimportant text, use <span> I hope, it will help!😊

+1

<b> is used to bold a text <strong> is used to bold a text too Strong is just like a message to a third person reading your source code indicating that the text is important none of them is deprecated