What does <!doctype html> do?

后端 未结 6 432
面向向阳花
面向向阳花 2020-12-12 19:06

What does this tag do?

What I can see is that with this tag on top my html behaves in another way than without. How do I k

6条回答
  •  -上瘾入骨i
    2020-12-12 19:38

    A Doctype declaration triggers standards mode in your browser and should always be used. Quirks mode should always be avoided.

提交回复
热议问题