为什么在html页面有<meta name="content-type" content="text/html; charset=UTF-8">,超链接仍然是乱码

<!DOCTYPE html>
<html>
<head>
<title>start.html</title>

<meta name="keywords" content="keyword1,keyword2,keyword3">
<meta name="description" content="this is my page">
<meta name="content-type" content="text/html; charset=UTF-8">

<!--<link rel="stylesheet" type="text/css" href="./styles.css">-->

</head>

<body>
<a href="servlet/EmailServlet" target="_blank">邮箱查询</a><br>
</body>
</html>

你设置的utf-8编码,那么保存这个html文件的时候也需要保存的编码为utf-8
温馨提示:答案为网友推荐,仅供参考
相似回答