HTML Basics

Body Tag

Posted on 30th April 2013

Body Tag: <body>

The <body> tag defines the body of the HTML page where the actual page contents are placed. The most commonly used attributes for an <body> tag are

background: to specify a background image for the page
bgcolor: to specify a background colour for the page
text: to specify the text colour


<body bgcolor="silver" text="blue" >

Displayed as:

Body Tag Example

The remaining chapters of this tutorial will explain the tags that goes inside the body tag.

Post a comment


Nothing the first to share wisdom.