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 used in <body> tag:-


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

  1. As you are providing the information that is very nice and useful information for those who required. Thanks for informative post but here is my opinion that you need to spread you knowledge to worldwide. So, that you can choose best company such as Ritz Media World for creative ad agency in delhi.

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete

Post a Comment

Popular posts from this blog

Heading Tag ( h1 to h6)