a11yphant Homepage

A valid HTML document - Level 03

A valid HTML document

Instructions

Websites exist in various languages. To help assistive devices, the language of a page should be declared on the <html> element by using the lang attribute. The value of the attribute should be the abbreviation of the document language. For example en for english, de for german. Browsers use this information to offer translations and correctly pronounce words when converting text to speech.

The lang attribute should always be set on the <html> element, as it is inherited by all other elements of the website. This means that the declared default language for the text will be set for all following elements inside the <html> element.

Add the language of the website to the <html> element.

index.html

On your computer: Press + m to use the tab key for site navigation.

The editor is loading...

Preview