Welcome to our HTML help page!
|
| Home | HTML-Index | Basic HTML | HTML Structure |
| Rated | All three of the following HTML codes work! | Results |
|
#1.
Conforms to W3C standards. |
<IMG SRC="image-url-here" ALT="text here"> | Text will display if the image does not appear. |
|
#2
TITLE attribute, Used to add a tool tip with the <A> tag,You do not need to create tool tips for images if you have used the ALT attribute. |
<IMG SRC="image-url-here" TITLE="text here"> | When a user positions the mouse over the image, Web browsers will display the information as a tool tip. |
|
#3
Does not conform to any standards. |
<IMG SRC=image-url-here> | No text is display on mouse over or if image does not show. |
|
Below is an example of a TITLE attribute, it should be used with the <A> tag.
<A HREF="URL goes here" TARGET=_BLANK TITLE="Text that appear when mouse is positioned over the element.">Text goes here</A> Place your mouse over the example below. This Example Link |