• Teach Your Self With
             w3htmlschool.com

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
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 Body bgcolor attribute sets the background color for the documents.
TEXT Body text attribute is set the color of all the normal text in the document.

Syntax


Under <html>
Write <body>..
</body> Close Body

</html> close the tag
Example
Example Output