Backgrounds, Images, Etc.
background solid color
Although the result may be somewhat boring, you can have a solid background color using this code, and colors (Hex, RGB, or Words, see "font color" above.) Add the variable bgcolor to your "body" tag, like this:
HTML Code:
<body bgcolor="red">
But please do not use red, or you will probably hurt your eyes.
background image tiled
You can tile a more interesting image with the coming code. Most images will not tile well, so I suggest you search the internet for a pattern website. Make sure they are okay to use, or get permission! You could also use your own image. IMPORTANT: Always start URL's with "http://" when editing HTML. Don't worry about why. Here is the code for adding a background image:
HTML Code:
<body background="http://WWW. PICK_A_URL.COM/YOUR_IMAGE.JPEG">
insert an image
You can add an image to your website with the upcoming code. You may want to put things like banners on your website, or funny pictures you found. To add an image, you need to start with the "img" tags, which stand for image. You also need a course, "src". You may want to add things like borders (pixels wide), border color (RGB, Hex, or Words), and even a specific width (in pixels or percents). Here is the code:
HTML Code:
<img src=HTTP://www.url_of_image.com/image.jpg border=0 bordercolor=black width=300 length=250>
This would create a 300x250 image with no border. You may not want to resize an image because it may distort the content.