HTML5 Logo

The world of technology is littered with three-letter-acronyms and other abbreviations. Rather than provide the full term in brackets after an abbreviation, the option to use the <abbr> tag should be used in HTML5.

The following HTML:

<p>The <abbr title="Computer Applications Technology">PAT</abbr> is a crucial part of the <abbr title="Computer Applications Technology">CAT</abbr></p>

results in the following in a webpage:

The PAT is a crucial part of the CAT

The value provided for the title attribute of the tag will appear as a screen-tip when the user hovers over the tagged abbreviation in a browser.

The <abbr> tag is not in the CAT curriculum and should score you an extra mark if you use it correctly in the Phase 3 HTML website section.

Reference: https://www.w3schools.com/tags/tag_abbr.asp

By MisterFoxOnline

CAT Educator

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.