Perché inserire un attributo lang tra gli elementi html


Why put a lang attribute in html element

Screen readers support a large number of languages, for each of which they have a library of sounds that allow the words to be pronounced correctly. If a web page indicates which language content should be read, screen readers are able to switch between the various libraries.

Otherwise, the screen reader thinks that the language of the page is the one chosen by the user when he sets it up.


How the SeoChecker missing <html> lang audit is displayed

If the <html> element of a page has no lang attribute, SeoChecker will notify it.

html lang

How can I add an HTML lang attribute?

Simply use a language code that is valid in the lang attribute of the <html> element.

For instance:

<html lang=”en”>

Condividi questa Guida.

Ti è piaciuta? Condividila!

Share it!

Web tools per sviluppatori moderni. Provali!

Generatori, builder e validatori per migliorare le tue performance di ottimizzazione SEO e web

Home Back to top of the page