Current Posts

Podcast #64: Language, Abbreviations, and Quotes

This podcast covers the markup for Language, Abbreviations, and Quotes; CSS is a whole other issue which may be covered in a future podcast.

Download Web Axe Episode 64 (Language, Abbreviations, and Quotes)

News

Announcements

Main Segment

General Guidelines
Language in HTML tag
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1" />
<meta http-equiv="content-language" content="en-us" />
Code Examples: Blockquote
<blockquote>
<p>Dennis and Ross are highly recommended for web design!</p>
<cite>Jane Doe</cite>
</blockquote>

<blockquote cite="Jane Doe [or URL]">
<p>Dennis and Ross are highly recommended for web design!</p>
</blockquote>
Code Examples: Inline quotes
<p>A customer for web accessibility consulting said <q>Dennis and Ross are
highly recommended for web design!</q>, and that was pleasing to my ears.</p>

<q lang="en-us">Dennis and Ross are highly recommended for web design!</q>

As <cite>Jane Doe</cite> said, <q lang="en-us">Dennis and Ross are
highly recommended for web design!<q>
Code Examples: Abbreviations & Acronym
<acronym title="California" lang="en-us">CA</acronym>
<abbr title="California">Cali</abbr>

Also, the abbr attribute can be used in table headers:

<th scope="col" abbr="colors">colors selected currently</th>
CSS + Aural Style Sheets
acronym {speak : normal;}
abbr.initialism {speak : spell-out;}
abbr.truncation {speak : normal;}

Language Codes

List of language codes; the Representation of the Names of Languages. From ISO 639, revised 1989.

Other Links

Labels: , , ,

3 Comments:

At 10:46 AM, Blogger joeclark said...

Language codes are to be taken from BCP 47, the current version, not the ten-year-old ISO 639-x series of standards.

 
At 9:44 PM, Anonymous Anonymous said...

The content of the cite attribute can only be a URI, not a string.

 
At 11:24 PM, Blogger Dennis Lembree said...

Per the W3C spec for Cite, it doesn't have to be a URI. It says a Cite tag "Contains a citation or a reference to other sources." One of the examples is a person's name.

 

Post a Comment

<< Home

RSS icon; follow the RSS feed for Web Axe
Twitter icon; follow Web Axe on Twitter

Like Web Axe?

Podcast Alley

Odeo

Mapper on Frappr

Add yourself to the Web Accessibility Enthusiasts mapper

Previous Posts