Computer Applications
Which HTML tag would you apply the bgcolor attribute to in order to change the background color of the web page ?
<html><head><body><p>
HTML Intro
2 Likes
Answer
<body>
Reason — We apply the bgcolor attribute with the <BODY> tag in order to change the background color of the web page.
Answered By
2 Likes
Related Questions
Background attribute of
<BODY>is used to :- give background color to web page
- load an image and use it as a background when displaying webpage
- insert an image within web page.
- none of these
With which HTML tag do you apply attributes that modify text size, font-face, and color ?
<font><mod><f><text>
Gagandeep has written the following code to display an image in the background of HTML document :
<BODY BgGround = "Animals.jpeg">
but he is not getting the desired output. Help him in identifying correct code from the following :<BODY Bg = "Animals.jpeg"><BODY BACK = "Animals.jpeg"><BODY BGIMAGE = "Animals.jpeg"><BODY BACKGROUND = "Animals.jpeg">
In which section of an HTML document do you enter the
<P>element ?- The body section.
- The footer section.
- The style sheet.
- The head section.