Tsallaka zuwa abun ciki
Justice Tech School

Tooltips with the title Attribute

The global title attribute shows a tooltip on hover. Do not rely on it for important information because touch and keyboard users may miss it.

Example
<p>Hover the <span title="HyperText Markup Language" style="border-bottom:1px dotted">HTML</span> word.</p>

Exercise

Add a tooltip.

<span ="Help">?</span>

Quiz Test

Is title safe for key information?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.