The HTML <body> tag defines the document's body. The <body> element contains all the contents of an HTML document, such as text, hyperlinks, images, tables, lists, etc. The body tag is placed between the </head> and the </html> tags.

Required Attributes

  • None.

Optional Attributes

Example

<html>
	<head>
		<title>Title of the document</title>
	</head>
	<body>
		The content of the document......
	</body>
</html>

Changes in HTML5

  • All layout attributes are removed from HTML5.

Related Tags