Home  >  Article  >  Web Front-end  >  How to use html abbr tag

How to use html abbr tag

藏色散人
藏色散人Original
2019-05-25 11:54:293070browse

html The abbr tag is used to mark an abbreviation, and the tag indicates an abbreviation or abbreviation, such as "WWW" or "NATO". By tagging abbreviations, you provide useful information to browsers, spell checkers, and search engines.

How to use html abbr tag

#html How to use abbr tag?

Function: Mark an abbreviation

Description:

The tag indicates an abbreviation or abbreviation, such as "WWW" or " NATO". By tagging abbreviations, you provide useful information to browsers, spell checkers, and search engines. The tag, originally introduced in HTML 4.0, indicates that the text it contains is a shortened form of a longer word or phrase.

Note:

You can use the global title attribute in the tag, so that it can be displayed when the mouse pointer moves over the element Produce the full version of the abbreviation/abbreviation.

html abbr tag usage example




    
    Title


The UN was established in 1945

The effect is as follows:

How to use html abbr tag

The above is the detailed content of How to use 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
Previous article:How to use html a tagNext article:How to use html a tag