How to define the document's body in HTML5 ? Last Updated : 12 Mar, 2021 Comments Improve Suggest changes Like Article Like Report The document's body in HTML5 is defined by the <body> tag which is placed with in the <html> tags and just after the <head> tag.The body tag can include: headings tags : <h1>, <h2>, <h3> and so on.paragraph tag: <p>line break tag: <br>horizontal rule tag: <hr>image and video tags: <img> <video>list tags: <ul> and <ol>table tag: <table> The body tag contains so many other tags, all the vital information on the web-page, or someone can say that it is the skeleton on the web-page. Example: Below example illustrates the use of body tag. HTML <!DOCTYPE html> <html lang="en"> <head> <title> Geeks-For-Geeks </title> </head> <body> <!-- Paragraph Tag--> <p>Geeks-For-Geeks</p> <!--H1 Tag--> <h1>Geeks-For-Geeks</h1> <!--H2 Tag--> <h2>Geeks-For-Geeks</h2> <!--H3 Tag--> <h3>Geeks-For-Geeks</h3> <!--H4 Tag--> <h4>Geeks-For-Geeks</h4> <!--Line Break Tag--> <br> <!--Horizontal Rule Tag--> <hr> <!--Image Tag--> <img src= "https://media.geeksforgeeks.org/wp-content/uploads/20210215161411/geeksforgeeksremovebgpreview-300x300.jpg"> <h2>Geeks-For-Geeks is Best Site For:</h2> <!--unordered list tag---> <ul> <li>DSA</li> <li>Web Development</li> <li>Gate</li> <li>and much more....</li> </ul> </body> </html> Output: All the tags we have used inside our body tag is now visible on the web-page. The image gets down below shows the output of the above code and the use of each and every tag that we have used in our body tag. Comment More infoAdvertise with us Next Article How to define the document's body in HTML5 ? R rahulmahajann Follow Improve Article Tags : Web Technologies HTML HTML5 HTML-Questions Similar Reads How to define the root of an HTML document ? The <html> tag in HTML is used to define the root of HTML and XHTML documents. The <html> tag tells the browser that it is an HTML document. It is the second outer container for everything that appears in an HTML document followed by the <!DOCTYPE> tag. The <html> tag require 1 min read How to define a section in a document in HTML5 ? In this article, we will discuss how to define a section in a document in html5. We can create a section in the document using the Section tag. HTML <section> Tag: Section tags divide content into section and subsection. The section tag is used when there is a requirement for two header, foote 1 min read How to define information about the document using HTML ? The <head> tag in HTML is used to define the head portion of the document which contains metadata related to the document. This tag can contain other head elements such as <title>, <meta>, <link>, <style>, <link> etc. The <head> element was mandatory In HTML 1 min read How to define metadata about an HTML document in HTML5 ? The metadata means the information about data. The <meta> tag in HTML provides information about HTML Document or in simple words, it provides important information about a document. These tags are basically used to add name/value pairs to describe properties of HTML documents, such as expiry 1 min read How to define style information of a document using HTML5 ? In this Article, we define style information for a document by using the <style> element in the document. It is used to change our text, viewed on the page. This change includes changing font-size, font-family, font-color, etc. Not only the texts but you can also change the style of a body or 1 min read Like