Computer Science, asked by fatima232, 1 year ago

mention the suitable html tag and the attributes to insert an image named globe.jpg in the background of a webpage​

Answers

Answered by Anonymous
3

<html><head><body bgcolor="black"><font size="4" color="Silver"><b><u><marquee>★Hello Curious I Hope this Answer Help You★</html></head></body></font></b></u></marquee>

●The Answer For This Question Is:- ●

【<IMG>】tag


Anonymous: Follow me Please
fatima232: thank you
Anonymous: follow me Please so i should connected with u dear :)
Answered by sailorking
1

For adding an image in a website we need to write the following code, of HTML:-

First we shall create a class in CSS, like

  • .img-bck

        {

              width: auto;

               height: auto;

               background-image: url (../img/globe.jpg);

          }

Now we shall use that in HTML code like

<html>

<head>

<body>

<p class="img-bck"><img src="globe.jpg"/></p>

</body>

</head>

</html>

Similar questions