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
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.
必须写的。这个是说明你这个网页的字符编码集什么的
http-equiv="Content-Type" 表示描述文档类型
content="text/HTML; 文档类型mime类型,这里为html,如果JS就是text/javascript,
charset=utf-8 页面字符集编码