Define charset for HTML5 Doctype

来源:互联网 发布:知乎 大连佳禾外语 编辑:程序博客网 时间:2024/06/05 18:46

In order to define charset for HTML5 Doctype, which notation should I use?

Any notation can be used.↓

  1. Short:

    <meta charset="utf-8" /> 
  2. Long:

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
原创粉丝点击