Code has been added to clipboard!

HTML strong Tag

Reading time 2 min
Published Jun 29, 2017
Updated Oct 11, 2019

HTML strong: Main Tips

  • HTML strong tags emphasize important information in an HTML page.
  • In most browsers, it will be shown as bold text. HTML <b> tags work in the same manner.
  • <strong> belongs to the group of semantic tags.
  • HTML strong element supports all global attributes.
  • You must use both starting and ending tags.

How to Bold Text in HTML

When you need to mark some text as more important, you can use HTML strong tags:

Example
<p>This is <strong>important</strong> text.</p>

Most browsers will show it as bolded text. However, some older browsers might underline it instead.

CSS vs. <strong> vs. <b>

If you are looking at how to bold text in HTML, you should know there are actually three options:

If all you need is bold styling, you can modify the CSS font-weight property to bold:

Example
strong { 
    font-weight: bold;
}

Then, there are two types of tags in HTML for bold text. <b> is good when you need to style your text in bold, but without any extra emphasis.

HTML <strong> tags have more of a semantic meaning. They represent text that is more important than the remaining part.

Example
<p>This <b>sentence</b> is <b>bolded</b> randomly - <b>no</b> bolded
<b>word</b> is <b>more</b> important <b>in</b> any <b>manner</b>.</p>

<p>Now in <strong>this</strong> sentence, we put
special <strong>emphasis</strong> where it <strong>matters</strong>.</p>

Note: it's also common to use <strong> for notes and warnings in the page - just like in the beginning of this blockquote.

Browser support

Chrome
1+
Edge
All
Firefox
1+
IE
All
Opera
All
Safari
All

Mobile browser support

Chrome
All
Firefox
4+
Opera
All
Safari
All
Basics
Introduction
Syntax
Editors
Basic Examples
Head Section
<!DOCTYPE>
Tags and Elements
Semantic Elements
Tags Reference
Attributes
Comments
Block and Inline Elements
Forms
Form Elements
Input
Responsive Web Design
Inline Scripts
Uniform Resource Locator
Redirect
XHTML
Geolocation
Drag and Drop
Local Storage
Web Workers
Server-Sent Events
Character Encoding
Text Formatting
Quotation and Citation Elements
Headings
Paragraphs
Links
Tables
Lists
Symbols
Space
Tab
Styles
Computer Code
Layout
Classes
Colors
Images
iframes
Audio Player
Video Player
YouTube Videos
Multimedia
Canvas
SVG
<!-- -->
<a>
<abbr>
<acronym> DEPRECATED
<address>
<applet> DEPRECATED
<article>
<aside>
<audio>
<b>
<base>
<basefont> DEPRECATED
<bdi>
<bdo>
<big> DEPRECATED
<blink> DEPRECATED
<blockquote>
<body>
<br>
<button>
<canvas>
<caption>
<center> DEPRECATED
<cite>
<code>
<col>
<colgroup>
<datalist>
<dd>
<del>
<details>
<dfn>
<dialog>
<dir> DEPRECATED
<div>
<dl>
<dt>
<em>
<embed>
<fieldset>
<figcaption>
<figure>
<font> DEPRECATED
<footer>
<form>
<frame> DEPRECATED
<frameset> DEPRECATED
<h1> – <h6>
<head>
<header>
<hr>
<html>
<i>
<iframe>
<img>
<input>
<ins>
<kbd>
<keygen> DEPRECATED
<label>
<legend>
<li>
<link>
<main>
<map>
<mark>
<menu>
<menuitem> DEPRECATED
<meta>
<meter>
<nav>
<noframes> DEPRECATED
<noscript>
<object>
<ol>
<optgroup>
<option>
<output>
<p>
<param>
<pre>
<progress>
<q>
<rp>
<rt>
<ruby>
<s>
<samp>
<script>
<section>
<select>
<small>
<source>
<span>
<strike> DEPRECATED
<strong>
<style>
<sub>
<summary>
<sup>
<table>
<tbody>
<td>
<tfoot>
<th>
<thead>
<time>
<title>
<tr>
<track>
<tt> DEPRECATED
<u>
<ul>
<var>
<video>
<wbr>