+ 4

Are <b> & <strong> tags a same text formats?

<html> <head> <title>first page</title> </head> <body> <p>This is regular text </p> <p><b>bold text </b></p> <p><big> big text </big></p> <p><i> italic text </i></p> <p><small> small text </small></p> <p><strong> strong text </strong></p> <p><sub> subscripted text </sub></p> <p><sup> superscripted text </sup></p> <p><ins> inserted text </ins></p> <p><del> deleted text </del></p> </body> </html>

16th May 2019, 2:57 PM
Sadab Askir
Sadab Askir - avatar
7 Antworten
+ 10
They more or less do the same thing but should be used differently. They both make text bold, but <strong> also indicates the text is important and places more emphasis on it semantically. So use <b> if you only want to make text bold, and use <strong> to make text bold *and* emphasize its importance to the browser, search engines, for blind users, etc.
19th May 2019, 3:11 PM
Cyhyraeth
Cyhyraeth - avatar
+ 3
Yes they are the same. Btw your question body does not match your question.
16th May 2019, 3:11 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 2
strong means bold but important, and b means only bold, same happened on i tag and em tag
13th Jul 2019, 11:38 AM
PVSV PW
PVSV PW - avatar
0
Almost same work
13th Jun 2019, 8:32 PM
Banu Prakash
Banu Prakash - avatar
0
Physically, they are the same when you see them on your webpage but they have different meaning when your web browser interprets it as strong is more important than bold
21st Jun 2019, 6:08 AM
Oyekanmi Mubarak Gbolahan
Oyekanmi Mubarak Gbolahan - avatar
- 1
Thank you
24th May 2019, 11:17 AM
Kyliam
Kyliam - avatar
- 1
Kind of works in the same way
27th May 2019, 10:08 AM
Max Maina
Max Maina - avatar