Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
607 views
in Web Technology by (31.3k points)
closed by

Explain the use of <BODY> tag and list any four of its attributes

1 Answer

+1 vote
by (30.9k points)
selected by
 
Best answer

Web page contents are given int the body section. Attributes of body tag are:
 

1. BGCOLOR – Specifies background color for the document Body

Eg. <BODY BGCOLOR= “RED”>

2. BACKGROUND – Sets the image as background for the document body

Eg. <BODY BACKGROUNG= “C:\result.jpg”>

3. TEXT – Specifies the color of the text content of the page

Eg. <BODYTEXT= “Red”>

4. LINK – Specifies colour of the hyperlinks that are not visited by the user

5. ALINK – Specifies the colour of hyperlinks

6. VLINK – Specifies the color of hyperlinks which are already visited by the viewer.

Eg. < BODY ALINK= “Cyan” LINK=” Magenta” VLINK= “Orange”>

7. Left margin and Right margin-Sets margin from left and top of the document window.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

...