logo for how to make a website explained



HTML Body Tag

The HTML body tag contaings all the information that will actually be visible on your webpage. The head tag contains all the information about your HTML page and the body tag contains all the information that is visible on a page.


This includes the headings, the images, the text, the footer, the navigation, everything that you can see is inside the opening and closing body tags. <body> </body>


HTML Body Tag Example

The following example will show you what can be contained within the HTML body tag:


Example in Table. HTML is purple and red in this specific tag, the Body tag. The content inside the Body tags are Blue.


Code Example

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">




<title>Title Goes Here</title>

<meta name="Author" content="Your Name" />

<meta name="description" content="" />

<meta name="keywords" content="" />




<h1>This is a heading</h1>

<p>First Pararaph</p>

<p>Second Paragraph</p>




View Example (browser view) html body tag


So do you see what the HTML body tag does? It contains all the information that is visible in your web browser.


Every tutorial that you do, must have this body element in it. Are you ready for some HTML tutorials, or want to continue learning the Basic HTML tags?





Leave the HTML Head Tag and Return to the Homepage





Copyright | Disclaimer | Privacy Policy | Site Designed by Nathanael Vanderkolk





click tracking