Skip to main content

Image Tag

To insert an image, use the image tag <img>, which has no end tag, for example

<img src="image1.gif">.

You can also take this simple image tag and:

  • add an alternative text message to appear when the mouse moves over it;
  • make the border disappear;
  • resize the image;
  • move the image left, right or centre.

Here's how it's done:

<img src="images/mymonkeypic1.gif" alt="My Picture" border=0 height="200" width="200" align="center"> 

Next: Anchor Links