We use the abbreviated version to represent a sequence of letters.
HTML Tags used to define abbreviations or acronyms, such as "HTML", "CSS", "Mr.", etc.
The following is the syntax of the tag.
<abbr title="Delhi Land and Finance">DLF</abbr>
The following is a sample program marked .
<!DOCTYPE html> <html> <head> <title>HTML abbr tag</title> </head> <body> <h1>Timings</h1> <p> We follow <abbr title="Artificial intelligence">AI</abbr> for our webinars. </p> </body> </html>
The following is another example program marked with .
<!DOCTYPE html> <html> <head> </head> <body> <p>DLF stands for <abbr title="Delhi Land and Finance">DLF</abbr></p> <p>Delhi Land and Finance is one of the largest commercial real estate developer in India.</p> </body> </html>
The following is another example program marked with .
<!DOCTYPE html> <html> <head> <title>HTML abbr tag</title> </head> <body> <abbr title = "Ante Meridiem">AM</abbr> <br> <abbr title = "Post Meridiem">PM</abbr> <br> <abbr title = "Indian Standarad Time">IST</abbr> </body> </html>
When we place the mouse cursor on the specified text and hold it down, the abbreviation of the text will be displayed.
The above is the detailed content of How to mark abbreviations or acronyms in HTML?. For more information, please follow other related articles on the PHP Chinese website!