This site has been taken over by the staff of www.ASPDeveloper.Net

Please report errors to suggest@aspdeveloper.net

BizTalk Utilities CV ,   Jobs ,   Code library  
 
Home Page
XHTML
The XHTML <a> Tag
Wrapping several generated XHTML pages inside one reusable XHTML frame
<< XALAN
XML DOM >>

By :Mark Wilson
I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :03/24/2008
Times viewed :1852

 

The <abbr> and <acronym> Tag (XHTML Reference)

Introduction

The <abbr> (abbreviated) and <acronym> tag fulfils both the same task. They can be used to define full forms of words like www, ftp, CD. These words are called acronyms. 

By using one of these tags you can make your pages more useful for browsers or search engines. Search engines will find your pages easier and faster if they include the full form of the acronyms for example: CD. Translator engines can easily use the abbreviations and spell checkers won’t complain about EU or shorter forms. 

This can be very useful for users who don't know the full form of some acronyms. They just need to hover the mouse over the acronym and it will show the full form as a tool tip. To achieve that you have to use the title attribute of the tag. It will also save you time so that you do not need to create an extra glossary for all those acronyms. To display the acronym properly I suggest that you use it with a CSS style sheet, so that the acronym is formatted with a dashed bottom border. Furthermore it is helpful to use the help cursor (cursor:help) when the user hovers over the acronym. 

Using both of these recommendations the reader will always know that the word is an acronym and that the full form will be shown as a tool tip.

Example

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<title>The <abbr> and <acronym> Tag</title>

<style type="text/css">

acronym, abbr

{

    cursor:help;

    border-bottom: 1px dashed black;

}

</style>

</head>

<body>

<h1>Welcome to the description of the &lt;abbr&gt; and &lt;acronym&gt; tag.</h1>

<abbr title="United States of America">USA</abbr><br/>

<abbr title="Germany">DE</abbr><br/>

<acronym title="United States of America">USA</acronym><br/>

<acronym title="Germany">DE</acronym><br/>

<p>&nbsp;</p>

</body>

Output


Rate this article on a scale of 1 to 10

Your vote :  


 

Recent Jobs

Software Specialist, Linux - Finlan
Linux Core Technical Project Manage
Graphics designer at Tanzania. Expe
Integration Specialist Needed - Wor
Virtualization Server Infrastructur

View all Jobs (Add yours)
View all CV (Add yours)






    Email TopXML  

Front Page Daily Stuff TopXML Forum XML blogs XML Newsgroups BizTalk Biztalk Utilities Biztalk Utilities Tutorial B2B SAP XML Microsoft .NET Dotnet System XML Soapformatter SQLXML XMLserializer XQuery PHP PHP SimpleXML PHP XML Dom PHP XML RPC PHP XSLT Java Java Java XML Xalan Microsoft ASP ASP Schemas XML SQL Server XML XMLDom XSL XSL Tutorial XSLT Stylesheets General Javascript CSS XHTML WAP