HTML Abbreviation

HTML Abbreviation

HTML Abbreviation

HTML abbreviation is used to give the acronym or short form of texts on the web page and when we hover the mouse on text enclosed within abbr tag it shows the full form.

  • HTML Abbreviation is defined by <abbr> tag.

  • The title attribute inside the <abbr> tag contains the full form of the acronym.

<abbr title="World Health Organization">WHO</abbr> care international public health.
Run Code »
Example Explanation:

In the above, we have shown an example of HTML Abbreviation.

  • Inside the <abbr> tag we should use the title attribute to give the full form of text.

  • Without the title attribute, we cannot able to give the full form of text.

  • Therefore title attribute is mandatory to use with the <abbr> tag.

Run the code to see the effect.

HTML Abbreviation in Hindi

Best Use:360p or more (480p or 720p)

Course Menu