![]() |
![]() |
ImagesYou can add images to your HTML page with the <img> tag. To display an image
called image.gif that is in the same directory as your HTML file you would
insert <img src="image.gif">. Let's say you know the dimensions of this image are
100 pixels in width and 200 in height, you can add that information as well like
this: <img src="image.gif" width="100" height="200">. Another option is to add alternate
text to the image like this: <img src="image.gif" width="100" height="200" alt="Alternate
text goes here">. Try testing this in your test.html file. Next we will learn
about adding links to your page. |
![]() |
|
|
Getting Started | Writing HTML | Formatting Text | Images | Links | Moving Forward | Contact Me |
|
![]() |
|
|
|
|
|
© 2005 HTMLintro.com - A free HTML tutorial, basics to web design |
|