Comment by thesuitonym
5 years ago
Even better, just use the abbr tag. It's well supported and doesn't rely on an outside source to tell your readers what you're talking about.
5 years ago
Even better, just use the abbr tag. It's well supported and doesn't rely on an outside source to tell your readers what you're talking about.
“It’s well supported”, yet on latest mobile Safari, it doesn’t appear to work at all. This w3 demo code does not show me the full name anywhere in the rendered content -https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_ab...
Chrome on Android rather (un)helpfully selects 'The WHO' and gives me a link to the rock band.
That would have nothing to do with the HTML abbr tag. That’s just Google Assistant being Google Assistant.
1 reply →
What about a long-press on the abbreviation? Does that do anything? I'm not on mobile now but I vaguely recall that working on some mobile platforms.
Noup, just tried
Although it works on desktop Safari, there's no way to tell that you should be able to hover over it.
Relevant to the parent here, I prefer to use a link because it is more commonly expected and it gives me the opportunity to refer to a quality source for an in-depth explanation of what I'm referencing.
It is especially useful when writing a technical document that utilizes multiple products/stacks/terms. Creating links to quality sources for those items gives someone new to the content a good source to go deeper into those pieces while allowing me to focus the article on the specific aspect I'm writing about.
This is how you do that:
...then you use "CRDT" for the rest of the document.
Merely expanding an abbreviation is less useful than explaining it.
Better in some ways, worse in others. Better than either, I think, is both.
Wow, that's awesome! Thanks for the tip!
A lot of people seem to be questioning why you'd need this when you could just provide a full link. Personally I read a lot of technical documentation and having acronyms written out in full would almost always be enough. Otherwise the whole document is likely over my head, or it's just a bad acronym.
Does <abbr> work well on Android and iOS?
Not working for me on iOS
It doesn’t work on mobile
Do both!