Home > Article > Web Front-end > What does the tag body mean?
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 necessary in an HTML document part. [Recommended tutorial: HTML tutorial]
Function: Define the main body of the document.
Note: The body element contains all the content of the document (such as text, hyperlinks, images, tables and lists, etc.)
Note: In HTML 4.01, the "rendering" of all body elements Properties" are deprecated. In XHTML 1.0 Strict DTD, all "rendering attributes" of the body element are not supported.
html body tag example
我的第一个 HTML 页面 body 元素的内容会显示在浏览器中。
title 元素的内容会显示在浏览器的标题栏中。
The above is the detailed content of What does the tag body mean?. For more information, please follow other related articles on the PHP Chinese website!