79
HTML <strong> tag
HTML <strong> tag is a phrase tag which is used to represent the important text of a document on the browser. The text within <strong> text has semantic importance for the search engines and emphasize the text with special intonation.
The text within <strong> tag renders in bold font on the browser by default; however it can be changed using CSS.
Note: Do not use <strong> tag just for making text bold, and if you want to make your text bold without any semantic importance then use <b> or CSS property.
Syntax
Following are some specifications about the HTML <strong> tag
Display | Inline |
Start tag/End tag | Both Start and End tag |
Usage | Formatting |
Example
Output:
Attribute:
Tag-specific attributes:
The <strong> tag does not contain any specific attribute.
Global attribute:
The <strong> tag supports the Global attributes in HTML.
Event attribute:
The <strong> tag supports the Event attributes in HTML.
Supporting Browsers
Element | Chrome | IE | Firefox | Opera | Safari |
<strong> | Yes | Yes | Yes | Yes | Yes |
Next TopicHTML style Tag