Abbr Tag Example – HTML Syntax – Abbr Examples
Get 5 Hours of FREE PREMIUM Videos:
LearnVisualStudio.NET Free Preview
“ I am a lifetime member of LearnVisualStudio.net and a Premium Plus member of dotNetVideos.net.
LearnVisualStudio.net is awesome because it grows in value each year as more videos are added.
dotNetVideos.net is also great because it focuses a lot on MS Certifications and practical interview questions.
”
- Wade Harvey (IdealProgrammer.com)
Premium (Not Free) Video Tutorials
Free Video Tutorials & Free Tools
Abbr Tag Example – HTML Syntax – Abbr Examples
Summary: – Illustrates the HTML syntax for the abbr tag.
Prerequistes:
- Install Visual Web Developer 2008
Syntax: abbr – Abbr indicates that the enclosed text is an abbreviation. This has no effect on how the text is displayed, but you can use the tag as an element selector in a style sheet to make abbreviations have a certain style.
Restrictions: None
Notes:
- You can build your own library of syntax examples by using same web site over and over and just add new files to it.
Instructions:
- Use Visual Web Developer 2008
- Create new web site;
- Click File/New Web Site
- Select ASP.NET Website Template
- Select C-Sharp for Language
- name of Web Site could be HTML_Syntax.
- Add New folder named "BasicTags"
- Right-click project name in solution explorer;
- add new folder;
- name of folder could be: BasicTags
- Add HTML Page Named Abbr to BasicTags folder
- Right-click BasicTags folder;
- add new item;
- Select HTML Page
- HTML Page name could be Abbr
- Click on copy code in code below to copy code into HTML Page Abbr.htm
- Right-click on HTML page Abbr and select view in browser
| HTML | | copy code | | ? |
< !DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
<html> |
<head> |
<meta content="text/html; charset=ISO-8859-1" |
http-equiv="content-type"/> |
<title>Abbr Tag Example</title> |
<style type="text/css"> |
ABBR { |
background: gray; |
color: white; |
} |
</style> |
</head> |
<body> |
<!-- |
Abbr indicates that the enclosed text is an abbreviation. |
This has no effect on how the text is displayed, |
but you can use the tag as an element selector in a style sheet |
to make abbreviations have a certain style. |
--> |
<abbr title="Tennessee">TN</abbr> |
</body> |
</html> |
Related posts:
- Background Attribute Example – HTML Syntax – Background HTML Example Background Attribute Example - HTML Syntax - Background HTML Example...
- HTML / CSS Examples Here is a library of HTML / CSS examples....
- A Tag Example – HTML Syntax – Anchor Examples A Tag Example - HTML Syntax - Anchor Examples...
- Alt Attribute Example – HTML Syntax – Alt HTML Example Alt Attribute Example - HTML Syntax - Alt HTML Example...
- Border Attribute Example – HTML Syntax – Border HTML Example Border Attribute Example - HTML Syntax - Border HTML Example...
Related posts brought to you by Yet Another Related Posts Plugin.













































