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

How to use html abbr tag

藏色散人
Release: 2019-05-25 11:54:29
Original
3364 people have browsed it

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

<!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>
Copy after login

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!

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