Smart ways to make money online.

Smart ways to make money online - HTML Tutorial - The Alt Tag.

 

The Alt Tag

If you want text to pop up when you run the mouse over the graphic, then you need to add the alt
tag.

<img src="images/apple.gif" alt="This is my apple">

Specify Height and Width

If you want to adjust the height and width of the image then you need to use the height and width tags:

<img src="images/apple.gif" alt="This is my apple" height="100" width="150">

Adding a Border

To add a border to your image need the "border" attribute. It's very simple:

<img src="images/apple.gif" border="5"> The 5 represents the thickness of the border. The higher the number, the thicker the border. The number 0 is equivalent to no border. Or you could just leave the border attribute out if you do not want one.
 

Lesson # 10 : HTML Tutorial - Multiple Attributes

HOMEPAGE