Computer Applications
In which HTML element do you apply attributes that modify the background image ?
- The
<html>element. - The
<head>element. - The
<background>element. - The
<body>element.
HTML Intro
3 Likes
Answer
The <body> element.
Reason — Background attribute of <BODY> tag is used to modify the background image of HTML document.
Answered By
3 Likes
Related Questions
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.
Which of the following heading tags will cause a browser to render text at the largest default size ?
<h3><h2><h5><h4>
Which is the correct way to comment out something in HTML ?
- Using
##and# - Using
<!--and--> - Using
</--and-/-> - Using
<!--and-!>
- Using