Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Does HTML5 support & lt;acronym> tags?

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces the relevant knowledge of "HTML5 support tags?". Many people will encounter such a dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Label definition and instructions for use

HTML5 does not support tags. Please use the label instead.

The label defines an acronym.

If the acronym is a word, it can be read, such as NATO, NASA, ASAP, GUI.

By marking only acronyms, you can provide useful information for browsers, spell checkers, translation systems, and search engine dispatchers.

Tips and comments

Tip: in some browsers, when you mouse over an acronym with a tag, the title attribute of the tag can be used to display the full version of the acronym.

Differences between HTML 4.01 and HTML5

HTML5 does not support tags, while HTML 4.01 supports tags.

Standard attribute

In HTML 4.01, tags support the following standard attributes:

Attribute value description

Class classname specifies the class name of the element

Dir rtl

Ltr specifies the text direction of the content in the element

Id id specifies the unique id of the element

Lang language_code specifies the language code of the content in the element

Style style_definition specifies the inline style of the element

Additional information about the element specified by title text

Xml:lang language_code specifies the language code for the content of elements in an XHTML document

For a complete description, please visit the standard properties.

Event attribute

In HTML 4.01, the tag supports the following event attributes:

Attribute value description

Onclick script executes the script when the mouse is clicked

Ondblclick script executes scripts when the mouse is double-clicked

Onmousedown script executes the script when the mouse button is pressed

Onmousemove script executes the script when the mouse pointer moves

Onmouseout script executes a script when the mouse pointer moves out of an element

Onmouseover script executes a script when the mouse pointer hovers over an element

Onmouseup script executes the script when the mouse button is released

Onkeydown script executes the script when the keyboard is pressed

Onkeypress script executes the script when the keyboard is pressed and released

Onkeyup script executes the script when the keyboard is released

This is the end of the content of "HTML5 support tags". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report