Tutorialspoint

1 Answer
George John

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−

Advertisements

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.