Computer Science, asked by kirtirohilla121, 4 months ago

Rashmi wants to set the image of a zoo as the background of her web page but she is unable to do it. Help her in accomplishing the task.

Answers

Answered by Aloneboi26
60

Explanation:

<ʙᴏᴅʏ sᴛʏʟᴇ="ʙᴀᴄᴋɢʀᴏᴜɴᴅ-ᴄᴏʟᴏʀ:ɢʀᴇᴇɴ;">

ᴇxᴘʟᴀɴᴀᴛɪᴏɴ:

<ʙᴏᴅʏ sᴛʏʟᴇ="ʙᴀᴄᴋɢʀᴏᴜɴᴅ-ᴄᴏʟᴏʀ:ɢʀᴇᴇɴ;"> ᴘᴜᴛ sᴛʏʟᴇ ɪɴsɪᴅᴇ ʙᴏᴅʏ ᴛᴀɢ.

Answered by SharadSangha
11

Rashmi can set the image of the zoo to her background in the following way:

  • In the first step, Rashmi can either save the image of the zoo in her drive or keep the picture easily accessible to copy its path or URL which can be pasted into HTML code.
  • Now to set the image in her webpage she has to write correct Hypertext markup Language code as follows:

<html>

  <head>

         <title>

               "Title of Webpage"

         </title>

  </head>

  <body background = "Name of image of zoo in source file or url location of image">

         <h1>

         "Heading of webpage"

         </hl>

     </body>

</html>

  • By entering this code for background image correctly and running the code, Rashmi can set image of zoo in the background of her webpage.

#SPJ3

Similar questions