Opquast, homepage

Quality Best Practices for on-line services.

You are here: : Homepage > Best practices > Sheet No13

Best Practice N°13- LevelLevel 2- Section accessibility

Description

The source code of the pages contains an indication of the main language of the content.

Objectives

Improves the rendering of the pages by text-to-speech synthesizers.
Improves referencing performance by allowing the search engines to recognize the content language.

Possible technical solutions:

The lang (in HTML) and/or xml:lang (in XHTML) attributes of the <html> element make it possible to specify the content default language :

The syntax to use is defined by the RFC3066 standard in the form :

The W3C provides two tutorials on the questio:

Control methods:

Display the source code and check for the presence of the attribute or attributes.

Put these Best Practices to use.

Subscription to a My-opquast perso account

Link towards the license
Opquast is a service provided by Temesis. The Opquast Best Practices are elaborated in the Opquast Workshop(FR).