Home >Web Front-end >HTML Tutorial >What does the html abbr tag mean? Detailed explanation of the specific usage of html abbr tag

What does the html abbr tag mean? Detailed explanation of the specific usage of html abbr tag

寻∝梦
寻∝梦Original
2018-08-20 14:14:317091browse

html What does the abbr tag mean? Detailed explanation of the specific usage of html abbr tag. Next, let us take a look at the introduction of this article. The definition and usage of html abbr tag, as well as the specific usage and explanation of its function are all in it.

html The definition and usage of the abbr tag:

8a7974376be5f6c00c121222b727adb9 The tag indicates an abbreviation or abbreviation, such as "WWW" or "NATO".

By tagging abbreviations, you can provide useful information to browsers, spell checkers, and search engines. The

8a7974376be5f6c00c121222b727adb9 tag was originally introduced in HTML 4.0 and indicates that the text it contains is a shortened form of a longer word or phrase.

HTML8a7974376be5f6c00c121222b727adb9 tag example:

Mark an abbreviation:

The <abbr title="People&#39;s Republic of China">PRC</abbr> was founded in 1949.

html The usage and function of abbr tag: ## The 8a7974376be5f6c00c121222b727adb9 tag in

#html is used to define abbreviations or acronyms. Marking abbreviated words with the 8a7974376be5f6c00c121222b727adb9 tag provides more useful information to browsers, spell checkers, and search engine indexers.

HTML8a7974376be5f6c00c121222b727adb9 Tag format:

<abbr title="全称">缩写词</abbr>

Description: 8a7974376be5f6c00c121222b727adb9 The abbreviation tag supports the title attribute. Generally, the attribute value of the title attribute is the full name of the abbreviation. When the mouse is placed over an abbreviation, the full name of the abbreviation will be displayed. The 8a7974376be5f6c00c121222b727adb9 tag supports html global attributes and html event attributes

Example:

<body style="font-size:25px;">
<abbr title="World Wide Web">www</abbr>
<abbr title="Cascading Style Sheets">CSS</abbr>
<abbr title="JavaScript">js</abbr>
<abbr title="PHP: Hypertext Preprocessor">php</abbr>
</body>

It is better to use the 8a7974376be5f6c00c121222b727adb9 tag than eb37297a59d90581fe5571fb4ef859fe. Style sheets can now be used to specify spoken pronunciations, for example

<abbr title="Structured Query Language">SQL</abbr>

and

abbr[title="Structured Query Language"]{speak:spell-out;}

can be used together.

[This tag is not useful for simple browsing, but if you want the text to be searchable, you can use it]

abbr is used to mark an abbreviation

abbr : abbreviation [??bri:vi'e??n] The abbreviation

<abbr title="phone">P</abbr>

abbr provides useful information to browsers and search engines.

Note: All browsers support the 8a7974376be5f6c00c121222b727adb9 tag. The 8a7974376be5f6c00c121222b727adb9 tag is not supported in IE 6 or earlier.

Tip: You can use the global title attribute in the 8a7974376be5f6c00c121222b727adb9 tag to display the full version of the abbreviation/abbreviation when the mouse pointer moves over the 8a7974376be5f6c00c121222b727adb9 element.

【Related recommendations】

html5 What does the meter label mean? Introduction to the usage and attributes of html5 meter tag

##html What does the bdo tag mean? Detailed explanation of how to use html bdo

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

Statement:
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