Let’s say you want to show a tooltip when your users move their mouse over a link/anchor element.
You can add the title attribute to any HTML element.
HTML markup:
<a href="https://techstacker.com" title="Link to TechStacker’s front page"
>Latest articles</a>