web site hit counter

Basic Html part 2

Here's what you will learn with this html tutorial.

  • Coding an Image
  • Coding a Background
  • How to use an Image in a Background

    Coding an Image

    Coding Images is very easy to master, you can change sizes, add borders and more. I'm going to teach it to you in this section.

    So you just want to add an image then here is the code, but remember first to upload you image so you can use the url.

    The img be just plain and there will be no space wherever you put it. So if you put it next to some text it would be right next to it and won't look organised. That's where spacing comes in to get a little space around, try:

    Is your image to big to fit somewhere or you would like your image to be resized just use this coding, just mentioning the quality of resizing on the net isn't as good as photoshop or a graphics program. It is important that you know the dimensions of your image so you can see how much bigger or smaller you should actually make it. Just change the numbers inbetween the speech marks to the dimensions you want it.

    Do you hate that annoying border when you link it or would you prefer your border to be more thicker around the image then use this simple code.

    Coding a Background

    Before using an image as a background will use the most easiest way of making a background by using a solid colour. As long as you know the number of hex code you want to use it will be a sinch. The hex code I'm using will make the background black.

    Now that you have shown you can survive making a coloured background, let's make an image background. There are different types tiled, still and arranged. We will start with tiled.
    Okay do you think that tiled is annoying and you only want one image well then you should use this code: