Basic HTML.
by: pinkcandiesYep, this tutorial will be on basic HTML. HTML is the basic coding on your site that will help make it look nicer and spiffier. All you need to do is read on!
Backgrounds
Ok, you have seen people with those backgrounds on their site and you want it too. You need to put this code on your site:
<body background="IMAGE ADDRESS">
The image address is where your image is located. If you looked up the address of the picture in the URL above, it would show just the picture. A fixed backgound is a background that stays in place. For instance if you scrolled down a page you would see the page move, but not the background. Here's the code for you to achieve this:
<body background="IMAGE ADDRESS" bgproperties="fixed">
Fonts
First, let's start with the font color. There are quite a few different colors, but if the color is simple enough (i.e. red, blue, purple, etc.) you can just write in the color.
( Alternately, you can also use a hex code, which is a grouping of 6 letters/numbers which represent a colour, like #000000(black), #ffcccc(pink) or #93CC1A(bright green).) You can find a list of hex codes at this site - http://www.draac.com/hexchart.html.
Here's the code:
<font color="COLOR">
Where it says color you fill it in with the color of your choice. To change a font size you can use this code:
<font size="SIZE">
Font size range from 1 or bigger, with 1 being the smallest. (note: however, they can also go into the negatives,, for example, -1, -2, -3. Not many people go under -1.)The normal range used is 1-7. To change a font face (the text) and size, all you have to do is use a simple code like this:
<font face="TEXT NAME">
note: you can also combine all these snippets of code together as such:
<font face="TEXT NAME" size="FONT SIZE" color="COLOR">
Images
Putting an image on the page is almost the same as a background. Replace "image address" with the location/URL of your picture.:
<img src="IMAGE ADDRESS">
Links
To put a link up, use this code. The first part goes before the image or text that you want to link. Always remember to close your link with the </a>. (or you'll find your entire page transformed into one huge link):
<a href="LINK ADDRESS"> text/image </a>
Extras
Well, here are the extras that you can use to spice up your page (besides the regular spices above;) )
The special extra is a marquee. If you don't know what a marquee is, it is what sends images back and forth across the page. Example of one:
<marquee> TEXT </marquee>
Thanks for reading, have a nice day!