Wednesday, May 31, 2006

Acronym Tag

The tag defines the start of an acronym, like "NATO". By marking up acronyms you can give useful information to browsers, spell checkers, translation systems and search-engine indexers.

How are the acronmys used ?

To include an acronym into your source, there must be two things:

A line

#use wml::debian::acronyms

and the acronym tag itself, here

This will expand to
<
acronym lang="en" title="Linux User Group">LUG<\acronym>


We also could use abbr that way,, but there arre two problems:

- - there is no clear definition what the difference between both tags is
- - One non-Linux Browser which Debian people want to be supportet does not support

Hint for using acronyms directly (if not used often enought to include in acronyms.wml):

- - use the form above
- - do not forget the lang attribute
- - never use Ids instead of title

If the dicts were included in debian main pages, it would also be possible to link to there, to show more information and linked translations.

example:

<
acronym title="what you want to say">word<\acronym>

acronym {
cursor:help;
font-weight:bold;
}

html style

<
acronym title="National Aeronautics and Space Administration">NASA<\acronym>


<
abbr title="World Wide Web Consortium">W3C<\span><\abbr>


css style

abbr, acronym, .help {border-bottom: 1px dotted #333; cursor: help;}
  • SEO Services
  • SEO Company
  • posted by Lalita at 1:45 AM 0 comments

    free web stats