Home / Articles / Programming languages / Markup languages / HTML & CSS / HTML5: how to define abbreviation and acronym

HTML5: how to define abbreviation and acronym

HTML5: how to define abbreviation and acronym
 
Authors: Daisy Smith
HTML5: how to define abbreviation and acronym
  • Currently 0 out of 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 0/5 (0 votes cast)

Thank you for rating!

You have already rated this page, you can only rate it once!

Your rating has been changed, thanks for rating!

Log in or create a user account to rate this page.


In this article you will find out about the distinction between an acronym and an abbreviation.

In order to set a value for an abbreviation (or acronym) do the following: place the acronym or abbreviation in abbr element and set the value using title.

<abbr title="Hypertext Preprocessor">PHP</abbr>

In previous HTML versions to create abbreviations and acronyms elements abbr and acronym were used. But these two elements were in the center of constant disputes.

The first problem was that up till version 7 Internet Explorer simply did not display the value title as a helping tool. To "solve" this problem, people began using the element acronym everywhere, despite the fact that a word might not actually be an acronym.

The second problem was a significant difference between acronym and abbr. Presently, the element acronym was removed from the HTML5, because all the acronyms - are in fact the same old abbreviations, only a bit more trimmed.


 

Read also

HTML5: adding new elements

HTML5: adding new elements

HTML5: elements article and section

HTML5: elements article and section

Post comment

basicuse.net
html5_css
106160485398655174790

Quick navigation

General navigation