July 30, 2020 05:40 pm GMT
Original Link: https://css-tricks.com/svg-title-vs-html-title-attribute/
SVG Title vs. HTML Title Attribute
You know the title
attribute? I can do this:
<div title="The Title"I'm a div with a `title`</div
And now if I’m on a device with a mouse pointer and hover the cursor over that element, I get…
Which, uh, I guess is something. I sometimes use it for things like putting an expanded date or time on an element that uses shorthand for it. It’s a tiny bit of UX helpfulness reserved exclusively for sighted mouse users.
But … Read article “SVG Title vs. HTML Title Attribute”
The post SVG Title vs. HTML Title Attribute appeared first on CSS-Tricks.
You can support CSS-Tricks by being an MVP Supporter.
Original Link: https://css-tricks.com/svg-title-vs-html-title-attribute/
Share this article:
Tweet
View Full Article