Sunday 23 June 2013

BODY TAG

11:44 By Unknown No comments

The BODY tag is a container element, i.e., it has both an ON tag and an OFF tag. The BODY element contains all the text and images that make up the page. It also contains the HTML tags that provide the control and formatting of the page.
In other words, it helps you to define how your website looks. Some of the attributes of the BODY tag are BGCOLOR, TEXT, LEFTMARGIN, and TOPMARGIN.
Let us consider an example. Type the following HTML coadin notepad, save the document as an HTML file, and open it in a browser....

Background colour (pink)
Text colour (blue)
Top margin (45 pixels)
Left margin (45 pixels)

0 comments:

Post a Comment