Questions tagged [abbr]

An HTML element used to mark-up abbreviations (and acronyms in HTML5, too).

abbr is an HTML element used to mark-up abbreviations (and acronyms in HTML5, too).

Example:

<abbr title="et cetera">etc.</abbr>

Specifications

35 questions
44
votes
5 answers

Remove underlining caused by abbr tag

I use the tag to show the full content of some trimmed words with the CSS property text-overflow: ellipsis . When using these words get a dotted underline and on hover cursor changes to one with a question mark. I did manage to change…
Dhanushka Dolapihilla
  • 1,115
  • 3
  • 17
  • 34
26
votes
7 answers

Difference between and ?

Definitionally they seem the same, yet they are deemed dissimilar enough by the W3C to have separate tag definitions. What is the semantic difference between and in terms of linguistics, the HTML spec and interpretation.
moo
  • 7,619
  • 9
  • 42
  • 40
23
votes
4 answers

Using HTML tag to explain content

Is it bad form to use the tag to explain words that are not actually abbreviations but to produce a "hover over" explanation of content? If it is, why is it bad form, and what is a good HTML alternative?
user187680
  • 663
  • 1
  • 6
  • 20
12
votes
4 answers

Can an abbr tag's title be styled?

Take the following code: WHO Can we style an abbr tag's title? So that instead of a custom tooltip we can use title?
Joemon
  • 775
  • 3
  • 9
  • 18
9
votes
4 answers

How do screen readers read tags?

I learned that the tag is supposed to be interpreted by screen readers in a way that its title attribute would replace its content when read by a screen reader. However, when I try that, neither MacOS (Firefox and Safari) Voiceover nor NVDA…
Johannes
  • 64,305
  • 18
  • 73
  • 130
9
votes
2 answers

Display abbr and acronym on mobile devices

I frequently use the abbr (and formerly acronym) tag on my website. But I noticed that this tag is not working on mobile/tablet devices (touch devices). So my question is: How I can make it work? I searched on the internet for some solutions, but…
Senep Ali
  • 117
  • 2
  • 11
9
votes
6 answers

Can you style a tag?

Can you style a tag using css? In firefox, it is displayed with dots underneath the words like in the picture below: Is this a browser by browser thing? can you remove the dots or do you just use the title="title here" option? thanks
Jacob G
  • 13,762
  • 3
  • 47
  • 67
7
votes
4 answers

Should you define an abbreviation more than once with the tag?

If I have an article or blog post and I have an abbreviation or acronym such as SAD (Seasonal Affective Disorder) should I do this everytime the acronym SAD appears in a document? SAD If you do only…
punkrockbuddyholly
  • 9,675
  • 7
  • 36
  • 69
6
votes
1 answer

Different language in title and content of the ABBR HTML tag

Suppose I'm writing an article in HTML. The language of the article is Swedish, so I have . Now I want to mark up the abbreviation properly in following text: HTML kan användas till mycket. To this end, I first do
Andreas Rejbrand
  • 105,602
  • 8
  • 282
  • 384
5
votes
1 answer

Semantic use of `abbr` element

In the following situation, an tag would certainly be semantically appropriate:

The Olympic games coverage by the BBC was highly praised.

However, in some situations I need to…
chrisfrancis27
  • 4,516
  • 1
  • 24
  • 32
4
votes
2 answers

How to convert html `abbr` tag text to a text in parentheses in Python?

I need to convert hundreds of html sentences generated by an outside source to readable text, and I have a question about conversion of abbr tag. Below is an example: from bs4 import BeautifulSoup text = "
user5054
  • 1,056
  • 1
  • 7
  • 22
4
votes
6 answers

What is the benefit to using and ?

Should i give my time to change terms and abbreviations to and ? Is it worth to use? What are pros to use both tags? Is it useful for SEO and screen reader?
Jitendra Vyas
  • 148,487
  • 229
  • 573
  • 852
3
votes
2 answers

Upper or lower case inside in abbreviation tags?

Since HTML5 does not support Microsoft's tag, we're left with using the abbreviation element: MS When it comes to capitalization, cases like that are obvious: it needs to be capitalized. However, what about…
Baumr
  • 6,124
  • 14
  • 37
  • 63
2
votes
1 answer

IE does not show border-bottom for abbr tag

I was surprised to see no search results in Google for this issue :). If you open this w3schools link (https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_abbr_test), you can see that IE does not show any line under the abbr word 'WHO', where…
sankar
  • 807
  • 8
  • 11
2
votes
4 answers

How does one implement something like Acronym in HTML5?

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...
Billy ONeal
  • 104,103
  • 58
  • 317
  • 552
1
2 3