Skip to content
Click Here to get a free report on how to make your website faster
RSS
HTML Body Tag Explained

By

Raqueebuddin Aziz

July 19, 2023

Freelance Web Designer & Developer

HTML Body Tag Explained

The body tag is used to mark the user visible content of your site.

Usage

The body tag must be a direct child of the html element and there can only be one body tag per HTML document.

<html>
	<head>
		<title>Hello World</title>
	</head>
	<body>
		<h1>Hello World</h1>
		<p>This is a paragraph.</p>
	</body>
</html>

Conclusion

The body and head tag exists to differentiate b/w the content and metadata of the page.

Leave a comment down below if you have any questions

Tweet Share on LinkedIN Post on Reddit

Looking for a dev to build a MVP for your tech startup?

I can help you out.

Contact

We use cookies to enhance your browsing experience and analyze website traffic. By continuing to use our website, you consent to the use of cookies in accordance with our Privacy Policy.

Privacy Policy