

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What is the difference between an acronym and abbr tags?
In layman language, an acronym is a word formed by taking letters of each word in a phrase to form an abbreviation. Acronyms are a subset of abbreviations i.e. abbreviation is a shortened form of a word.
The <acronym> tag isn’t supported in HTML5 and is deprecated now. Do not use. To add abbreviation in HTML, use the <abbr> tag. Both abbreviation and acronym are the shortened versions and are represented as a series of letters. Some of the examples include, "Mr.", "IST", "MRI", “NASA”, “ISRO” etc.
Example
You can try to run the following code to add abbreviation in HTML.
<!DOCTYPE html> <html> <head> <title>HTML abbreviation</title> </head> <body> <h1>Space Exploration</h1> <p>US Space Explorations are governed by <abbr title="National Aeronautics and Space Administration">NASA</abbr>. </p> </body> </html>
- Related Questions & Answers
- What is the difference between HTML tags <div> and <span>?
- What is the difference between an island and the continent?
- What is the difference between a simulator and an emulator?
- What is the difference between an offer and an invitation to offer?
- What is the difference between a python list and an array?
- What is the difference between a kernel and an operating system?
- What is the difference between an IP Camera and CCTV Camera?
- What is the difference between an interface and an abstract class in C#?
- What is the difference between jQuery.prop() and jQuery.attr()?
- What is the difference between jQuery and JavaScript?
- What is the difference between jQuery.size() and jQuery.length?
- What is the difference between jQuery and AngularJS?
- What is the difference between jQuery.show() and jQuery.hide()?
- What is the difference between jQuery.fadeout() and jQuery.hide()?
- What is the difference between jQuery.animate() and jQuery.hide()?
Advertisements