Body tag < body > < / body>
<body> tag:-
The <body> tag defines the document's body.
The <body> element contains all the contents of an HTML document, such as text, hyperlinks, images, tables, lists, etc.
Attribute
|
Description
|
BGCOLOR
|
Specifies the background color of a document
|
BACKGROUND
|
Specifies a background image for a document
|
TEXT
|
Specifies the color of the text in a document
|
LINK
|
Specifies the color of un visited links in a document
|
VLINK
|
Specifies the color of visited links in a document
|
ALINK
|
Specifies the color of an active link in a document
|
Example:-
<html>
<head>
<title>Index </title>
<head>
<body bgcolor="lightblue" text="black">
<body>
</html>
Here is an screen capture of the example:-
To Download the Example Html File:- ClickHere
Comments
Post a Comment