We've all seen tooltips, text that appears to jump out of a word or phrase when you hover over it on your screen. Many browsers support tooltips inherently. Add some text to the
Here is a basic tooltip:
<p>In this section we will explore Foundation's <span title="Text that appears to jump out of a word or phrase when you hover over it on your screen.">tooltip</span> plugin.</p>
When you display this example paragraph on the screen, it will look normal. When you hover your mouse over the word tooltip, the text from the
title attribute will display.
has-tip class to the
<span> tag that surrounds the word
tooltip, and the ...