description & Usage
The <strong> tag is used to write text that is important.
Browsers typically render the <strong> tag in bold.
description | tag |
---|---|
To specify the main titles | <h1> - <h6> |
For emphasis on text Italic style <Equal to <strong |
|
For important texts Bold style <Equal to <em |
|
For important texts Highlight style <Less than <strong |
|
to mark Bold style unimportant |
|
Notes
Note: Compare the <strong> tag:
- <b> The <b> tag renders the text in bold, but it does not imply that the text is important.
- The <h6> tag has more [semantic value]
Browser compatibility and Support
# | Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|---|
<strong> |
Global Attributes
The <strong> tag supports the HTML Global Attributes.
Event Attributes
The <strong> tag supports the HTML Event Attributes.
Default CSS
Most browsers will display the <strong> tag with the following default style: