Kevin Powell - CommunityKP-C
Kevin Powell - Community16mo ago
9 replies
vince

Does it make sense to use the title attribute for this?

I want to create a tooltip for users so they can better understand what an icon means (see image). Does it make sense to use the title attribute for this or is it lazy?

Here's my code:
<div class="icon" title="For sale">
  <svg />
</div>
image.png
Was this page helpful?