Home > Web Front-end > HTML Tutorial > What does the html strong tag mean? Introduction to the specific usage of the strong tag in html

What does the html strong tag mean? Introduction to the specific usage of the strong tag in html

寻∝梦
Release: 2018-08-20 14:14:59
Original
16228 people have browsed it

html What does the strong tag mean? The specific usage of the strong tag in HTML is introduced and detailed here. Let’s start with this article. It mainly talks about the meaning and usage of the strong tag in HTML and the specific usage of the strong tag in HTML.

html The meaning and usage of the strong tag:

The tag is a phrase tag that is used to define important text in the sample of a computer program. The

tag is used to emphasize text just like the tag, but it adds more emphasis.

Browsers usually display the content in the tag differently from the tag, usually using bold font (as opposed to italic) to display the content, so that Users can distinguish these two labels.

If common sense dictates that the tag should be used less frequently, then the tag should appear less often. If text with the tag seems to scream, then text with the tag screams. In the same way that a word spoken by a man of few words always promises gold, limiting the use of can make it more noticeable and more effective.

For example, users who frequently visit the PHP Chinese website may notice that the first summary sentence of many tutorial pages is displayed in bold, but in fact, we use < strong> tag. The reason for using this tag is that we believe that the tutorial summary not only summarizes the content of the page on which it is located, but is located at the most important position on the page, and its content is naturally very important and worthy of emphasis.

HTML Tag Example

Format text in the document:

<strong>这是一个加粗文本</strong>
Copy after login

tag Specific usage:

To understand the use of the tag, you must first get to know its old friend "B tag". Both the "strong" and "B" tags can have the effect of thickening the font. There is not much difference to the naked eye, but strong itself has the meaning of emphasis and emphasis. In the eyes of search engines, with < The text of the strong> tag is relatively important and will be given a certain weight. From a standardization perspective, the tag is also more compliant with W3C standards. Therefore, in text, the tag takes precedence.

How to use: Add the words that need to be emphasized between the tags. For example, label "Use of tags" as: Use of tags. Generally, you can add the tag to the text through a text editor, as shown in the figure below.

<div class="php"><div>
这里面是一段任何文字,随便怎么写都可以,反正都是个实例,给你们看的</div> 
 <div>
  </div>
 <div>
 所以这里我就随便写点东西,希望你们都能明白
 <div>
  </div>
 <div>
 <strong>本章的重点在这,没错,前面的都是铺垫,这才是主角</strong></div>
 <div>
  </div>
Copy after login

Notes on usage:

Between the tags are keywords with general meaning, not a paragraph. Add < to the entire paragraph. The ;strong> tag does not provide emphasis.

To control the number of tags. If there are too many tags on a page, it will appear unfocused.

Use the tag with the tag.

[Related recommendations]

Is the HTML del tag a block-level element? Specific application methods of html del tag

What are the common uses of HTML ins tag? Introduction to common attributes of HTML ins

The above is the detailed content of What does the html strong tag mean? Introduction to the specific usage of the strong tag in html. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template