0

tags doubt

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

23rd Apr 2020, 7:04 AM
AyAANJAVED
4 Réponses
+ 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
23rd Apr 2020, 7:10 AM
Gordon
Gordon - avatar
+ 3
The <b> tag makes the text 'bold' and the <strong> tag makes the text 'important'. This is the only difference between them.
23rd Apr 2020, 7:11 AM
Pranav
Pranav - avatar
+ 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!😊
23rd Apr 2020, 7:15 AM
F L a Z z Y
F L a Z z Y - avatar