The <strong> tag in HTML is the parsed tag and used to show the importance of the text. Make that text bold.
This tag also supports the global attributes and event attributes in HTML.
Syntax:
<strong> Contents... </strong>
Example:
HTML
<!DOCTYPE html>
< html >
< body >
< h1 >GeeksforGeeks</ h1 >
< h2 >< strong > Tag</ h2 >
< strong >Welcome to geeksforGeeks!</ strong >
</ body >
</ html >
|
Output:

Example 2: Use CSS property to set bold font weight.
HTML
<!DOCTYPE html>
< html >
< head >
< title >strong Tag</ title >
< style >
body {
text-align:center;
}
h1 {
color:green;
}
.gfg {
font-weight:bold;
}
</ style >
</ head >
< body >
< h1 >GeeksforGeeks</ h1 >
< h2 >font-weight: bold;</ h2 >
< div class = "gfg" >Welcome to geeksforGeeks!</ div >
</ body >
</ html >
|
Output:

Supported Browsers:
- Google Chrome 1 and above
- Edge 12 and above
- Internet Explorer
- Firefox 1 and above
- Opera
- Safari