Вопрос по html – Почему Firefox выделяет переходный тип документа HTML красным цветом?

8

Error: User Rate Limit Exceeded

enter image description here

Error: User Rate Limit Exceeded

<!DOCTYPE html>
<html>

Error: User Rate Limit Exceeded

Ваш Ответ

1   ответ
10

Almost standards mode doctype. Expected “<!DOCTYPE html>”

<span class="error doctype" title="Almost standards mode doctype. Expected “<!DOCTYPE html>”.">
    &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
</span> 

<!DOCTYPE html>.

The DOCTYPE shown in the example, <!DOCTYPE html>, is the simplest possible, and the one recommended by HTML5. Earlier versions of the HTML standard recommended other variants, but all existing browsers today will use full standards mode for this DOCTYPE, even the dated Internet Explorer 6. There are no valid reasons to use a more complicated DOCTYPE. If you do use another DOCTYPE, you may risk choosing one, which triggers almost standards mode or quirks mode.

Error: User Rate Limit Exceeded
Error: User Rate Limit Exceeded IMB
Error: User Rate Limit Exceeded
Error: User Rate Limit Exceeded IMB
Error: User Rate Limit Exceededstackoverflow.com/questions/5935065/…

Похожие вопросы