<h2>Enable tooltips everywhere in pure HTML, without JavaScript.</h2>
</hgroup>
<articlearia-label="Tooltips examples">
<p>Tooltip on a <ahref="#"onclick="event.preventDefault()"data-tooltip="Tooltip">link</a></p>
<p>Tooltip on <emdata-tooltip="Tooltip">inline element</em></p>
<p><buttondata-tooltip="Tooltip"aria-label="Example button">Tooltip on a button</button></p>
<footerclass="code">
<pre><code><<b>p</b>>Tooltip on a <<b>a</b><i>href</i>=<u>"#"</u><i>data-tooltip</i>=<u>"Tooltip"</u>>link</<b>a</b>></<b>p</b>>
<<b>p</b>>Tooltip on <<b>em</b><i>data-tooltip</i>=<u>"Tooltip"</u>>inline element</<b>em</b>></<b>p</b>>
<p><code><i>data-placement</i></code> with the values <code><u>top</u></code>, <code><u>right</u></code>, <code><u>bottom</u></code> or <code><u>left</u></code> is used to control the position of the tooltip.</p>