One of the ingredients of an accessible HTML document (a.k.a. a webpage) is the document language needs to be set. This tells the screen reader or other assistive technology the language in which the document has been created so it can be read in the native language or translated into a different language easily.
Identify the Primary Language of the Document:
Identify Changes of Language Within a Document:
<p>While in Spain, my friend tried to speak Spanish, but she wasn't very good. Everyone kept saying "<span lang="es">No comprendo nada de lo que dices.</span>"</p>
See HTML Language Code Reference for a complete listing of language codes.