Smilies dark backgrounds are not working in my web page.

Asked By 30 points N/A Posted on -
qa-featured

Hello fellows,

Smiles dark background are not working in my webpage. I set smiles dark photos as my background for my html webpage project but when I tried to run and refresh the browser it was not applied. Can you illustrate the proper coding technique on setting a picture as a background in html? I have a .jpg extension.

Regards,

Kyle Berry.

SHARE
Best Answer by Smith Thompson
Answered By 0 points N/A #188671

Smilies dark backgrounds are not working in my web page.

qa-featured

Hi Kyle,

I'm giving you sample code just make some changes 

 

<html>
<body
background="C:UsersEgerton AkeenDesktopsmiley.gif">
background-repeat:repeat;
width:200px;
height:200px;">
</body>
</html>
 
Thanks.
Best Answer
Best Answer
Answered By 10 points N/A #188672

Smilies dark backgrounds are not working in my web page.

qa-featured

It’s depends on your coding style. If you are simply designing a webpage with HTML simple editor then you can simply place a image as a background and it will work fine. You just need to put this code <img src="smiley.gif" alt="Smiley face" height="42" width="42"> and you will be able to put the image to background. For quality reasons try to put a transparent image as a background.

 

Smith Thompson

 

Related Questions