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 does body mean in html5

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

Share

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

This article mainly shows you "what is the meaning of body in html5". It is easy to understand and clear. I hope it can help you solve your doubts. Let me lead you to study and learn this article "what does body mean in html5?"

In html5, body means "body" and is a kind of HTML tag used in web pages; body tags are used to define the body of a document (web page), that is, all the content that users can see, such as text, hyperlinks, images, tables, lists, audio and video, and so on.

The operating environment of this tutorial: windows7 system, HTML5 version, Dell G3 computer.

In html5, body means "subject".

Body is a kind of HTML tag used in web pages. Tag is a kind of HTML tag used in web pages, which represents the main part of the page, that is, all the content that users can see, such as text, hyperlinks, images, tables, lists, audio and video, and so on.

Only one tag can exist in a HTML file.

Example:

A simple HTML document with as few required tags as possible:

The title of the document, the contents of the document.

Description:

In HTML 5, all special attributes have been removed. However, the tag supports standard attributes in HTML 5:

The attribute value describes the keyboard shortcut that accesskeycharacter specifies to access the element. Classclassname specifies the class name of the element (used to specify the class in the stylesheet). Contenteditable

True

False

Specifies whether users are allowed to edit content. Contextmenumenu_id specifies the context menu for the element. Data-yourvaluevalue

Attributes defined by the creator.

Creators of HTML documents can define their own properties.

Must start with "data-".

Dir

Ltr

Rtl

Specifies the text orientation of the content in the element. Draggable

True

False

Auto

Specifies whether the user is allowed to drag the element. Hiddenhidden states that this element is irrelevant. Hidden elements are not displayed. Idid specifies the unique ID of the element. Item

Empty

Url

Used to combine elements. Itemprop

Url

Group value

Used to combine projects. Langlanguage_code specifies the language code for the content in the element. Spellcheck

True

False

Specifies whether elements must be spelled or grammatical checked. Stylestyle_definition specifies the inline style of the element. The subjectid specifies the project that corresponds to the element. Tabindexnumber specifies the tab key control order of the elements. Titletext specifies additional information about the element. The above is all the content of this article "what does body in html5 mean?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more 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