abbr tag and acronym tag_HTML/Xhtml_web page production

WBOY
Release: 2016-05-16 16:42:43
Original
1386 people have browsed it

The and tags represent the text abbreviation and abbreviation presented in the web page, both pass title attribute to give the full name of the abbreviation . The difference between the two is that the tag is used to represent the acronym , and often the abbreviated form is a word that can be pronounced . For example:

title="United Nations">U.N./abbr>

Jack weighs 90 abbr title="kilograms">kg.abbr>

abbr title="Save Our Soul">SOSabbr>

acronym title=" North Atlantic Treaty Organization">NATOacronym>

acronym title="radio detecting and ranging">radar acronym>

abbr title="Federal Bureau of Investigation">FBIabbr>

The displayed result is:
U.N.
Jack weighs 90 kg.
SOS
NATO
radar
FBI
There are some abbreviations, like URL and SQL can be pronounced as as one word , or as pronounced letter by letter as , in which case use abbr> tag is better than . Style sheets can now be used to specify spoken pronunciation, for example

abbr title="Structured Query Language">SQLabbr>

and

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

are used together.

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

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