<body>和</body>之外的都有用吗?这个 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">是什么意思?必须写吗?
数据分析师2017-09-30 23:07:31
Are anything other than <body> and </body> useful? What does this <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> mean? Do I have to write it? -PHP Chinese website Q&A-Are everything except <body> and </body> useful? What does this <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> mean? Do I have to write it? -PHP Chinese website Q&A
Please watch and learn.
阿神2016-12-20 13:18:06
必须写的。这个是说明你这个网页的字符编码集什么的
http-equiv="Content-Type" 表示描述文档类型
content="text/HTML; 文档类型mime类型,这里为html,如果JS就是text/javascript,
charset=utf-8 页面字符集编码