The HTML5 body Tag

The HTML5 <body> tag is an element which defines the coding of an HTML document where all the contents of the actual document start. The HTML5 <body> tag has been a part of the HTML specifications. In HTML5, all <body> tag specific attributes are removed. On the other hand, the attributes in HTML 4.01 are considered obsolete.

Here is how the HTML5 <body> tag is used:

<html>

<head>

<title>This is where the title of the document appears</title>

</head>

 

<body>

The actual content of the document should be placed here...

</body>

 

</html>

The HTML5 <body> tag is supported in all major browsers such as , Internet Explorer, Firefox, Opera, Google Chrome, and Safari.

The HTML5 <body> tag is capable of supporting the Global Attributes and the Event Attributes in HTML5.

Featured pages

Overview

Learn about HTML5 architecture, design principles and patterns on HTML5 Overview Tutorial. Become …

Tags

Learn about HTML5 tags and discover a new list of HTML5 tags. Find out about HTML5 tags support by…

Welcome

 Learn HTML5 development techniques, tips and tricks on our website. Find out what is required…

Date Time Picker

HTML5 forms use date and time controls regularly. HTML5 date and time controls are used by booking …