Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does one implement something like Acronym in HTML5?

Tags:

html

abbr

Given that acronym is removed in HTML 5, how does one get standards support with similar functionality? Every other removed tag looks like CSS can do it, but that one seems to be removed completely...

like image 704
Billy ONeal Avatar asked Jun 16 '26 18:06

Billy ONeal


2 Answers

<abbr> has been repurposed for both abbreviations as well as acronyms:

The abbr element represents an abbreviation or acronym, optionally with its expansion.

If you want to be specific with your semantics, perhaps adding class="acronym" would do the trick. I think that's as far as you can go, although I should add that class has no actual semantic value whatsoever.

like image 64
BoltClock Avatar answered Jun 19 '26 08:06

BoltClock


I thought <abbr> replaced <acronym>?

http://www.html-5.com/tags/abbr-tag/

like image 26
bjudson Avatar answered Jun 19 '26 09:06

bjudson



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!