English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Reference Manual

HTML Tag大全

HTML: <strong> tag

HTML <strong> indicates that the text is very important and is usually displayed in bold. <strong> This usually means that the browser displays the text in bold. This tag is also commonly referred to as the <strong> element.

Online example

Format text in the document:

<!DOCTYPE html>
<html>
<head> 
<meta charset="utf-8"> 
<title>Basic Tutorial(oldtoolbag.com)</title> 
</head>
<body>
<strong>Bold text</strong><br>
<strong>Bold text</strong><br>
<em>Emphasized text</em><br>
<dfn>Definition item</dfn><br>
<code>A piece of computer code</code><br>
<samp>Computer sample</samp><br>
<kbd>Keyboard input</kbd><br>
<var>Variable</var>
</body>
</html>
Test and see ‹/›

Browser compatibility

IEFirefoxOperaChromeSafari

All mainstream browsers support the <strong> tag.

Definition and usage instructions for the tag

The <strong> tag is a phrase tag used to define important text in a computer program sample.

The <strong> tag is used to separate text from the rest of the content. Traditionally, browsers will make the text within the <strong> tag bold. You can change this behavior using CSS.

Tip: We are not against using this tag, but if you just use this tag to achieve a certain visual effect, we recommend using CSS, which may achieve more rich effects.

All phrase tags:

tagsdescription
<em>is presented as emphasized text.
<strong>defines important text.
<dfn>defines a definition item.
<code>defines computer code text.
<samp>defines sample text.
<kbd>defines keyboard text. It indicates that the text is entered from the keyboard. It is often used in documents or manuals related to computers.
<var>defines variables. You can use this tag in conjunction with <pre> and <code> tags.

HTML 4.01 and HTML5Differences between

In HTML 4.01 In HTML, the <strong> tag defines bold emphasized text, in HTML 5 In HTML, the <strong> tag defines important text.

Global Attributes

Support for <strong> tag Global Attributes of HTML.

Event Attributes

Support for <strong> tag HTML Event Attributes.

Related Articles

HTML Tutorial:HTML Text Formatting