Using proper names

My HTML tag points lang="en", but there are many proper names in the document. These are things like surnames that the validator designates as spelling errors. I would like to put them in <span>with lang="none", for example. Is there a proper way to do this (i.e. the one that validates HTML?

+4
source share
1 answer

The correct way to do this is to set the attribute to an empty string

<span lang="">...</span>

node, ( , node - ), lang XML HTML lang . node ( ).

, , node .

HTML5 Spec

+1

Source: https://habr.com/ru/post/1613901/


All Articles