This page tests web browser behavior for the HTML
title attribute, a rather poorly and inconsistently supported feature considering its wide use and importance on the Web.
Most graphical web browsers display the contents of the
title attribute as a "tooltip" — a simple out-of-flow box that appears when you hover your cursor over the element. All browsers should make the
title information available in some form. This test will use an average tooltip-like box for demonstrations of proper behavior, although browsers are not required to match the specific box width, color, font, or other stylistic aspects of these examples. Excluding normal text wrapping in the examples, a web browser is required to break lines at the same places as in these examples and must not break anywhere else except where necessary for normal text wrapping. Text contents must be a character-by-character match (#4 has a minor exception due to technical limitations, as explained in the source HTML).
Each test is conducted by hovering your mouse cursor over the word "Test", or however your web browser activates the display of the
title attribute contents. For a browser to pass a test, the displayed
title attribute contents must match the preceding example display according to the rules in the above paragraph.
Here is a relevant section of the HTML 4.01 specification: Basic HTML Data Types: CDATA.
This test page was created by David Hammond.
Return to Web Devout.