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 are the attributes of the new element of HTML5

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

Share

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

This article is about what the attributes of the new HTML5 elements are. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

New elements of canvas

The canvas tag, which defines graphics, such as charts and other images, is based on JavaScript's drawing API

New multimedia elements

Audio: defining audio content

Video: define video (video or movie)

Source: define multimedia resources video and audio

Embed: define embedded content, such as plug-ins

Track: specify external text tracks for media such as video and audio elements.

New form element

Datalist: defines a list of options. Use this element with the input element to define possible values for input

Keygen: specifies the key pair generator field to use for the form

Output: define different types of output, such as script output.

New semantic and structural elements

Article: define the independent content area of the page

Aside: defines the sidebar content of the page

Bdi: allows you to set a piece of text away from the text orientation setting of its parent element

Command: define command buttons, such as radio buttons, check boxes, or buttons

Details: used to describe the details of a document or part of a document

Dialog: define dialogs, such as prompt boxes

Summary: the tag contains the title of the details element

Figure: specify independent streaming content (images, diagrams, photos, codes, etc.)

Figcaption: defines the title of the figure element

Footer: defines the footer of section or document

Header: defines the header area of the document

Mark: define marked text

Meter: defines weights and measures only for known maximum and minimum values

Nav: define the progress in progress (process)

Progress: define the progress of any type of task

Ruby: define ruby comments (Chinese Bopomofo or characters)

Rt: the interpretation or pronunciation of defining characters (Chinese Bopomofo or characters)

Rp: used in ruby comments to define what is displayed by browsers that do not support ruby elements

Section: define sections (section, sections) in a document

Time: define a date or time

Wbr: specify where to add newline characters in the text.

Thank you for reading! This is the end of the article on "what is the attribute of the new element of HTML5". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

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