HTML Tag


The acronym tag in HTML is used to set an acronym.

Note: HTML5 doesn’t support the <acronym? Tag. Suggested use of <abbr> tag.

Following are the examples of acronyms−

  • B2B: Business to business
  • B2C: Business to consumer
  • CMS: Content Management System
  • PPC: Pay Per Click
  • ROI: Return On Investment
  • CTA: Call To Action

Let us now see an example to implement the acronym tag−

Example

 Live Demo

<!DOCTYPE html>
<html>
<body>
<h2>Coding Ground</h2>
<h3>Compilers for Programming Languages and Web Technologies</h3>
<nav>
   <a href="/compile_java_online.php">Java</a> |
   <a href="/php_terminal_online.php">PHP</a> |
   <a href="/online_jquery_editor.php">jQuery</a> |
   <a href="/compile_c_online.php">C</a> |
   <a href="/compile_cpp_online.php">C++</a> |
   <a href="/online_angularjs_editor.php">AngularJS</a>
</nav>
<p>We also have a compiler for <acronym title="JavaScript">JS</acronym> libraries.</p>
</body>
</html>

Output

Place the cursor on JS to display the title of the acronym−

Updated on: 30-Jul-2019

27 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements