With HTML how do I set a custom background?

Hi im 15 and just creating web pages as a hobby. Now I know the basics and that everything you want to do is with tags, how ever what if I want the background of the web page to be like a picture saved some where on my computer? How do I set it?

Oh im using Microsoft Visual Web developer, seems pretty nice for free software ( I started learning with just notepad)
thanks "If to legit" I followed your thing and it worked. My picture was tiny , so I changed it to repeat?
 
using pure html
<body background="drkrainbow.gif">

if the image is on ur computer though it will not show up if u put the page on the internet unless u upload it to the same place as the html file and have the path set correctly

with CSS you can do
<style>
body
{
background:url('http://www.someurl.com/myimage.jpg');
}
</style>

--------------------------------

You only need the type attribute for web standards which NO browser fully conforms to so pointless to waste the time typing it.
 
Back
Top