| |
| Web Hosting |
|
|
|
| |
Adding A Image |
|
| |
|
|
| |
To add an image to a webpage, you simply use the <img> tag. You can see example(s) below;
<img src="image.jpg" width="100" height="100" border="0" alt="image1" />
<img src="imagepath/drain.jpg" width="100" height="100" border="0" alt="image1" />
<img src="../imagepath/backoutoffolder.jpg" width="100" height="100" border="0" alt="image1" />
You can see you use the "src" attribute to source the location of your image and you can assign the width and height, or you can leave web browsers to default to actual image size, although its better to assign the width and height.
If the image your adding a page to is contained in another folder on your web server, you would use "../" to move back out of a folder. You then input the correct path to the image file you are adding to the page.
|
|
| |
|
|
|