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

What semantic elements have been added to HTML5

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article mainly introduces which semantic elements have been added to HTML5. It is very detailed and has certain reference value. Friends who are interested must finish reading it!

1.HTML5 adds a number of semantic elements as follows:

Label description

Define the independent content area of the page.

Define the contents of the sidebar of the page.

Allows you to set a piece of text away from the text orientation setting of its parent element.

Define command buttons, such as radio buttons, check boxes, or buttons

Used to describe the details of a document or a part of a document

Define a dialog box, such as a prompt box

The tag contains the title of the details element

Specify independent streaming content (images, charts, photos, codes, etc.).

Define the title of the element

Define the footer for section or document.

Defines the header area of the document

Defines marked text.

Define weights and measures. Used only for measurements of known maximum and minimum values.

Define the part of the navigation link.

Define the progress of any type of task.

Define ruby comments (Chinese phonetic or character).

Define the interpretation or pronunciation of characters (Chinese Bopomofo or characters).

Used in ruby comments to define what is displayed by browsers that do not support ruby elements.

Define sections (section, sections) in the document.

Define the date or time.

Specifies where to add newline characters in the text.

2.HTML5 form

New form elements, new attributes, new input types, automatic validation.

Element removed

The following HTML 4.01elements have been deleted in HTML5:

Mark an acronym with H6 instead of abbr

Replace with object

Specify the default font color and font size on the page:

Presents the effect of a large font.

This. Why is it removed when it is so commonly used?

Sign to define the list of directories. Similar to ul

/ / this is also more commonly used, but it has been cancelled

Tag defines a specific window (frame) in frameset

Define a frameset

Element to display text for browsers that do not support frames. The noframes element is inside the frameset element.

The label can define the text definition with delete lines.

The above is all the content of the article "what semantic elements have been added to HTML5?" Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

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