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.
#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
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> The <abbr title="United Nations">UN</abbr> was established in 1945 </body> </html>
The effect is as follows:
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!