Posts in current category

HTML5 <acronym> tag (abandoned)


May 03, 2021 13:15 HTML5


Table of contents


Definitions and usages

HTML5 is used to define acronyms, such as "WWW". B y tagging with only initials, you can provide useful information for browsers, spell checkers, translation systems, and search engine scalers. If you would like to know about the use of the hashtags, please refer to the "HTML slt;acronym and tags" section of this site!

The difference between HTML 4.01 and HTML 5

Usage tips: . T his element has been removed from HTML5 and should no longer be used. Web developers should use the slt;abbr> instead.

Example:

<acronym title="World Wide Web">WWW</acronym>

Output:

WWW

The default style

Although the label is intended purely for the convenience of the author, its default styles vary from browser to browser:

Some browsers, like Internet Explorer, give it the same style as the element.

Opera, Firefox, and a number of other browsers have added a dot-shaped underline below the element content.

Web authors are therefore strongly advised not to rely on the default style.

Tips and comments:

Note: In some browsers, title can be used to display the full version of the expression when you move the mouse over an acronym.