<meta http-equiv="content-type" content="text/html" charset="utf-8" />
可以解决中文乱码问题,比如我的环境是utf-8,meta标签里的charset属性值就填相应的utf-8
<!DOCTYPE html>
<html>
<head>
<title>自测练习</title>
<meta http-equiv="content-type" content="text/html" charset="utf-8" />
<meta name="keywords" content="搜索引擎,关键字" />
<meta name="description" content="网页简述" />
</head>
<body>
</body>
</html>