New to building websites? Go to site-tips.com
Web Developers' Mini Blog
Using Alt and Title Attributes
Alt
Alt attributes are used by user clients that can not display images, forms, or applets. The alt attribute is often mistakenly used as a tool tip. The attribute should be used as text that should be displayed there when the image (or form or applet) is not shown.
An alt text should be as short as possible, less than 100 characters, but preferably much less.
Title
This attribute offers extra information about the element for which it is set. This means it is perfect for tooltips. It can't be used for the following elements: base, basefont, head, html, meta, param, script, and title.
Jul 01, 2008


More posts