ADDING AN IMAGE

 

GENERAL INFORMATION

 

You can add an image to your webpage by using the following tag:

 

            <img src="filename.ext">

 

The image file needs to be in the same folder as your html document.

 

LOCATION OF USE

           

You can place the tag anywhere between the <body> and </body> tags.

 

COMMON ERRORS

 

 

OPTIONAL ATTRIBUTES

 

 

EXAMPLES

 

Click here to see an example of an image in a webpage.  Use View Source to see the code.

 

Click here to see the same image with all attributes in use.  Use View Source to see the code.