html body tag


  Translation results:

英[ˈbɒdi] 美[ˈbɑ:di]

n.Body; corpse; group; object

vt.Give a body

Third person singular: bodies plural : bodies present participle: bodying past tense: bodied past participle: bodied

html body tagsyntax

What does the tag body mean?

The tag body is the body part of a web page, which is used to define the main content of the web page and is also a necessary part of an HTML document.

Function: Define the body of the document.

Note: The body element contains all the content of the document (such as text, hyperlinks, images, tables, lists, etc.)

Notes: In HTML 4.01, the "rendering attribute" of all body elements is deprecated. In XHTML 1.0 Strict DTD, all "rendering attributes" of the body element are not supported.

html body tagexample

<html>

<head>
<title>我的第一个 HTML 页面</title>
</head>

<body>
<p>body 元素的内容会显示在浏览器中。</p>
<p>title 元素的内容会显示在浏览器的标题栏中。</p>
</body>

</html>

Run instance »

Click the "Run instance" button to view the online instance

Popular Recommendations

Home

Videos

Q&A