【发布时间】:2011-05-31 10:58:16
【问题描述】:
为什么我们需要像这样在 HTML 头部包含元内容类型标签?
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
【问题讨论】:
-
在 HTML5 中,您可以使用
<meta charset="UTF-8" />。见stackoverflow.com/questions/4696499/…
标签: html content-type meta-tags