問題:

In order to define charset for HTML5 Doctype , which notation should I use? 爲了爲HTML5 Doctype定義字符集,我應該使用哪一種表示法? html

  1. Short: 短: ui

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

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

解決方案:

參考一: https://stackoom.com/question/Jhlz/meta-charset-utf-與-meta-http-equiv-Content-Type
參考二: https://oldbug.net/q/Jhlz/meta-charset-utf-8-vs-meta-http-equiv-Content-Type
相關文章
相關標籤/搜索