
- HTML Tutorial
- HTML - Home
- HTML - Overview
- HTML - Basic Tags
- HTML - Elements
- HTML - Attributes
- HTML - Formatting
- HTML - Phrase Tags
- HTML - Meta Tags
- HTML - Comments
- HTML - Images
- HTML - Tables
- HTML - Lists
- HTML - Text Links
- HTML - Image Links
- HTML - Email Links
- HTML - Frames
- HTML - Iframes
- HTML - Blocks
- HTML - Backgrounds
- HTML - Colors
- HTML - Fonts
- HTML - Forms
- HTML - Embed Multimedia
- HTML - Marquees
- HTML - Header
- HTML - Style Sheet
- HTML - Javascript
- HTML - Layouts
- HTML References
- HTML - Tags Reference
- HTML - Attributes Reference
- HTML - Events Reference
- HTML - Fonts Reference
- HTML - ASCII Codes
- ASCII Table Lookup
- HTML - Color Names
- HTML - Entities
- HTML - Fonts Ref
- HTML - Events Ref
- MIME Media Types
- HTML - URL Encoding
- Language ISO Codes
- HTML - Character Encodings
- HTML - Deprecated Tags
How to include an acronym in HTML?
In this article we are going to learn about how do we include an acronym in HTML. Let’s jump into the article one by one to get more idea.
In HTML, the acronym is defined using the <acronym> tag. An additional word is spelled out using the <acronym> tag. It serves as a resource for search engines, translation services, and browsers.
Note − use the <abbr> Tag because HTML 5 does not allow this tag.
Syntax
Following is the syntax for acronym.
<acronym title=""> Short Form </acronym>
Considering the following examples, to know more about how do we include an acronym in HTML.
Example 1
In the following example we are using <acronym> tag.
<!DOCTYPE html> <html> <body> <h1>USing Acronym</h1> <acronym title="TUTORIALSPOINT">TP</acronym> <br> <acronym title="OPERATING SYSTEM">OS</acronym> </body> </html>
When the script gets executed, it will generate an output consisting of text along with the acronym used on the webpage.
Example 2
Let’s look into the example where we are using the <abbr>
<!DOCTYPE html> <html> <body> <p>The <abbr title="World Health Organization">WHO</abbr> was founded in 1948.</p> <p>The <abbr title="Hypertext Markup Language">HTML</abbr> is designed to be displayedin a web browser.</P> </body> </html>
On running the above script, the output window pops up, displaying the text used with the <abbr> tag on the webpage .
Example 3
Consider the another example where we are using <acronym> tag.
<!DOCTYPE html> <html> <head> <title>HTML acronym Tag</title> </head> <body> <p><acronym title = "Hypertext Markup Language">HTML</acronym></p> </body> </html>
When the script runs, it will generate the output consisting of text used with the acronym tag on the webpage.
- Related Articles
- How to include an abbreviation in HTML?
- How to include another HTML file in an HTML file?
- How to include an input field in HTML?
- How to include an external JavaScript inside an HTML page?
- How do we include an anchor in HTML?
- How to include inline JavaScript inside an HTML page?
- How do we include an emphasized text in HTML?
- How to include Modernizr in HTML document?
- How to include JavaScript in HTML Documents?
- How to include CSS in HTML Pages
- How to include an option in a drop-down list in HTML?
- Include meta data in an HTML document
- How do we include a section in an HTML document?
- How do we include an inline sub window in HTML?
- How to include the character encoding in HTML?
