<strong> tag marks the text it contains as important.
By default, this text is displayed in bold.
<strong> tag giving importance to text.
Homework is due on March 11.
<p>Homework is due on <strong>March 11</strong>.</p>
<strong> elements marking important text.
The time in Arles became one of Van Gogh's more prolific periods: he completed 200 paintings and more than 100 drawings and watercolors. He was enchanted by the local countryside and light; his works from this period are rich in yellow, ultramarine and mauve. They include harvests, wheat fields and general rural landmarks from the area.
<p> The time in Arles became one of Van Gogh's more prolific periods: he completed <strong>200 paintings</strong> and more than <strong>100 drawings and watercolors</strong>. He was enchanted by the local countryside and light; his works from this period are rich in yellow, ultramarine and mauve. They include harvests, wheat fields and general rural landmarks from the area. </p>
<strong> element has no attributes, but it does accept global attributes.
The following are commonly used.
|id||value||Provides the strong element with a unique identifier.|
|class||classnames||Assigns one or more classnames to the strong element.|
|style||CSS-values||Assigns CSS style values to the strong element.|
For additional global attributes see our global attributes list.
Phrase tags highlight the meaning of a small piece of text (i.e. a phrase).
<strong> tag is one of them, but there are several others.
A list of all HTML Phrase tags.
|<em>||Indicates emphasized text|
|<strong>||Indicates important text|
|<code>||Indicates computer code|
|<samp>||Indicates sample output from a computer program|
|<kbd>||Indicates keyboard input|
|<var>||Indicates a variable|
The <b> and
<strong> elements both make the text appear in bold.
In the early HTML days, the <b> tag was used to emphasize and highlight text.
With the introduction of the
<strong> tag it became the preferred way to display important text.
As a general rule, use <b> when no other, more appropriate, tags are available.
<string> tag is part of a group of tags
that are used to create and format text documents.
This group is referred to as the Text tag group.
Together, they allow you to create comprehensive HTML text documents.
Here is a list of text tags.
|<h1>-<h6>||Defines text headings in 6 different sizes|
|<p>||Creates a paragraph|
|<span>||Container for one or more inline text elements|
|<br>||Creates a line break|
|<sup>||Specifies superscript text|
|<sub>||Specifies subscripted text|
|<u>||Specifies underlined text|
|<i>||Specifies italic text|
|<b>||Specifies bold text|
|<em>||Marks text that needs emphasis|
|<strong>||Indicates text that is important or with high urgency|
|<del>||Defines deleted text|
|<ins>||Defines inserted text|
|<ruby>||Represents a small annotation with pronunciation of text|
|<kbd>||Specifies keyboard input, such as, CTRL or ALT|
|<wbr>||Specifies a preferred word-break location for long words|
Here is when
<strong> support started for each browser: