Also use alt tag as title on images
Alt text does not produce tooltips on Chrome (and maybe other standard compliant browsers).
The alt attribute specifies alternate text that is rendered when the image cannot be displayed (see below for information on how to specify alternate text ). User agents must render alternate text when they cannot support images, they cannot support a certain image type or when they are configured not to display images. (HTML 4.01 Spec, 13.2)
The standard compliant browser will display only the image, or when that is not possible, only the alt text.
I propose using:
<img title="This is a tooltip." />
, or in addition to:
<img alt="This is NOT a tooltip." />
EDIT: I am not sure, but I don't think
alt is valid HTML5.