Body Tag

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

Code:

<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.

Last Updated: 30-April-2013


Post a comment

Name

Your Comment

Email (We dont publish it)

Comments

Nothing yet..be the first to share wisdom.