Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

HTML <strong> tags


May 05, 2021 HTML Reference Manual


Table of contents


HTML .lt;strong> tags

The label is used to emphasize the importance of certain text, which means that the text is presented in bold form in the browser, refer to the following example:

Format the text in the document:

<strong>加粗文本</strong>

Try it out . . .

Browser support

HTML <strong> tags HTML <strong> tags HTML <strong> tags HTML <strong> tags HTML <strong> tags

All major browsers support the hashtag.


Label definition and instructions for use

A label is a phrase tag that defines the important text of a sample of a computer program.

Tip: We're not against using this label, but if you're using it just to achieve some visual effect, we recommend using CSS, which might lead to richer results.

All phrase tags:

Label describe
<em> Rendezed as an emphasized text.
<strong> Define important text.
<dfn> Define a definition item.
<code> Define computer code text.
<samp> Define sample text.
<kbd> Define the keyboard text.It indicates that the text is typed from the keyboard.It is often used in documents or manuals related to your computer.
<var> 定义变量。您可以将此标签与 <pre> 及 <code> Tags are used in conjunction.


The difference between HTML 4.01 and HTML5

In HTML 4.01, the label defines bold, emphasized text, and in HTML 5, the label defines important text.


Global properties

The label supports the global properties of HTML.


The event property

The tag supports the event properties of HTML.


Related articles

HTML tutorial: HTML text formatting