Google
 
Web promised-land-services.com

Adding a Graphic to Your Site

If you have a picture named pic1.jpg in your images folder on your domain.com, the the HTML code to make that picture show up would be:

<img src="http://domain.com/images/pic1.jpg">

To make this picture link to your page1.html, you would use the following code:

<a href="http://domain.com/page1.html">
<img src="http://domain.com/images/pic1.jpg"></a>

To center this picture, I just put the <center> and </center> tags around the line above

To change the size of the picture use the width and height tag attributes like this:

<img src="http://domain.com/images/pic1.jpg" width="100" height="100">

Make sure that you keep the relationship between width and height the same or your picture will be distorted. For instance, if your picture is originally size 640×480 then cut the sizes by the same amount. If you want the picture half as big, make the sige 320×240. If you want it 3/4 as big, then make it 480×360.


Leave a Reply

You must be logged in to post a comment.





Google
 
Web promised-land-services.com