B
B
BonBon Slick2020-12-31 21:54:01
HTML
BonBon Slick, 2020-12-31 21:54:01

How to set the content language correctly?

meta content-language="EN"
meta language="EN"
<html lang="EN">

Does it make sense to use all 3?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Dokin, 2020-12-31
@BonBonSlick

In fact, one could google and stumble upon a similar question with stackowerflow .
For a better understanding, I advise you to read this . In most cases, always use . Only in specific cases (pages for native speakers of one language written in another language) are both options used. I note that it is only converted by the browser to the Content-Language HTTP header. The same can be achieved by sending the appropriate header from the server. <html lang="en"><meta http-equiv="content-language" content="en">

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question