HTML <strong> tag
The <strong> tag makes a text as bold and marks it as an important text.
Syntax:
<strong>text…</strong>
How Browser will display
INLINE.
Difference between HTML4.01, XHTML and HTML5
HTML4 | XHTML | HTML5 |
---|---|---|
defines emphasized text | NA | defines important text |
Attributes used with <strong> tag
NONE
Note/Warning/Danger/Info The <b> tag makes the text bold while the <strong> tag tag makes the text bold and important.
If you simply want to make your text bold, then either use the <b> tag or a better alternative is to use the CSS font-weight:bold property.
If you simply want to make your text bold, then either use the <b> tag or a better alternative is to use the CSS font-weight:bold property.
Global Attributes
The <strong> tag supports Global attributes.
Event Attributes
The <strong> tag supports Event attributes.
Supporting Browsers
Related Tags
<b> tag is similar.