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 in HTML5

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

Share

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

This article introduces the knowledge of "what are the attributes of the new elements of HTML5". In the operation of actual cases, many people will encounter such a dilemma, 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!

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.

This is the end of the content of "what are the new element attributes of HTML5". 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