Answer the question
In order to leave comments, you need to log in
Bootstrap: “The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags". wtf?
By chance, in the bootstrap examples, I noticed this code:
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
...
Answer the question
In order to leave comments, you need to log in
I know that it <meta charset="utf-8">
must come before <title>Заголовок</title>
, otherwise the encoding in the page header may not be determined. I can't say anything about the rest. Probably, they just wrote to the heap so that all three meta tags go first, and there are reasons only for encoding. Correct me if I'm wrong.
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
these 3 tags should ALWAYS be defined first in the block<head></head>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question