Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Does it make sense to use the title attribute for this? - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
2y 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
>
<
div
class
=
"icon"
title
=
"For sale"
>
<
svg
/
>
</
div
>
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,263
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
title attribute | tooltips
KP-C
Kevin Powell - Community / front-end
16mo ago
meta title attribute and title tag
KP-C
Kevin Powell - Community / front-end
3y ago
how to make this part ?I cant use one image for this because it needs to be animated .
KP-C
Kevin Powell - Community / front-end
17mo ago