+ 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>
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.
+ 3
Yes they are the same.
Btw your question body does not match your question.
+ 2
strong means bold but important, and b means only bold, same happened on i tag and em tag
0
Almost same work
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
- 1
Thank you
- 1
Kind of works in the same way