|
TestingIn the last lesson, we had added two images. Preview the page in IE and see that the tooltip appears as you hover your mouse over the title graphics. The text of that tooltip came from the alt attribute. As you will notice, we do not get the tooltip on the side image since we did not put in an alt attribute.
This tooltip effect is an IE specific feature. If you try this in Firefox, you will not get the tooltip. However, if you add in the title attribute to our <img> tag....
You will get the tooltip in Firefox as well. Adding the TitleAnother thing we noticed when we preview our page in the browser is that the browser title bar still says "Untitled Document". That is because we had not given our page a title. Add in the title now...
And we are all set.
Download: code5.zip In the next lesson, we will finish up.
|





