TheDeveloperBlog.com

Home | Contact Us

C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML

HTML abbr Tag

HTML abbr Tag with html tutorial, tags, anchor, img, div, entity, textarea, marquee, p tag, heading tag, h1, h2, table, formatting, attribute, elements, ol, ul, Input Types, block element tag, inline element tag, html tags, phrase tag, head, body, form, lists, symbols etc.

<< Back to HTML

HTML <abbr> tag

HTML <abbr> tag is used to represent an acronym or abbreviation of a longer word or phrase, such as www, HTML, HTTP, etc. The content written between <abbr> tags renders with dotted underline in some browser.

This tag can be used with "title" attribute (optional), and the value of title attribute will be pop-up when the mouse hovers over the content written between <abbr> tag.

Syntax

<abbr title="HyperText Markup language">HTML</abbr>

Following are some specifications about the HTML <abbr> tag

Display Inline
Start tag/End tag Both Start tag and End tag
Usage Semantic/Textual

Example

With title Attribute:

<!DOCTYPE html>
<html>
  <head>
	<title>Abbreviation Tag</title>
   </head>
 <body>
	<h2>Abbreviation tag example</h2>
	<p><b>Hover mouse over the content and see the abbreviation</b></p>
               <abbr title="Hyper Text Transfer protocol">HTTP</abbr>
    </body>
</html> 
Test it Now

Example

Without title Attribute:

<!DOCTYPE html>
 <html>
 <head>
	<title>Abbreviation tag</title>
 </head>
  <body>
   <h2>Abbreviation tag Example</h2>
   <p><abbr>CPU</abbr> is brain of a Computer</p>
  </body>
</html>
Test it Now

Global attributes:

The <abbr> tag supports the global attributes.

Event Attributes:

The <abbr> tag supports the event attributes.

Supporting Browsers

Elementchrome browser Chromeie browser IEfirefox browser Firefoxopera browser Operasafari browser Safari
<abbr>YesYesYesYesYes
Next TopicHTML acronym Tag




Related Links:


Related Links

Adjectives Ado Ai Android Angular Antonyms Apache Articles Asp Autocad Automata Aws Azure Basic Binary Bitcoin Blockchain C Cassandra Change Coa Computer Control Cpp Create Creating C-Sharp Cyber Daa Data Dbms Deletion Devops Difference Discrete Es6 Ethical Examples Features Firebase Flutter Fs Git Go Hbase History Hive Hiveql How Html Idioms Insertion Installing Ios Java Joomla Js Kafka Kali Laravel Logical Machine Matlab Matrix Mongodb Mysql One Opencv Oracle Ordering Os Pandas Php Pig Pl Postgresql Powershell Prepositions Program Python React Ruby Scala Selecting Selenium Sentence Seo Sharepoint Software Spellings Spotting Spring Sql Sqlite Sqoop Svn Swift Synonyms Talend Testng Types Uml Unity Vbnet Verbal Webdriver What Wpf