Sunday, October 13, 2013

Filled Under:

How to add an image.

Hey everyone how are you guy
Our today's topic is adding images to your website.This is very very simple people,you can add as many images as you want to and they will appear perfectly and with the same picture quality as they are stored in your desktop.So lets get started with the code.

<html>
<body>

<img src="car.jpg" width="100" height="132">

</body>
</html>

Ok so above i wrote the code of adding an image to a website,let me explain it to you guys briefly.

Step 1: Open html tag
Step 2: Open the body tag
Step 3: Write img which means image,write src which means source so these 2 short forms makes a sentence which can be understood as image source.Then in the inverted commas you will have to give the name of the image which you have named it in your laptop/PC, put a full stop and define the type of the image,close the inverted commas,define the width and height of the image and your are done with the task of adding the image.See how simple it is to add an image,now you can add as many images you want to add with the same procedure.
Step 4: Close the body tag
Step 5: Close the html tag




0 comments:

Post a Comment