Press "Enter" to skip to content


HTML body Tag

HTML Body tag contains all the text formatting and images that make up the pages together with all the HTML tags that provide the control and formatting of the page.

The body tag have following attributes.
BACKGROUND (Deprecated HTML 5)
Body background attribute define or point to the image which will display as image as tiled across the browser windows. providing a background for the document. 
BGCOLOR (Deprecated HTML 5)

Body bgcolor attribute sets the background color for the documents.
TEXT (Deprecated HTML 5)

 Body text attribute is set the color of all the normal text in the document.


Under <html> Write <body>..

Close Body</html> close the tag

Example for HTML Body Tag

<!Doctype HTML>
<Title>Your Web site Title</Title>
My First Web Page