网页定义的是text/html,但是w3c检测的却是Content-Type: text/plain
来源:百度知道 编辑:UC知道 时间:2024/05/25 02:13:23
网页定义的是:
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
但是W3C检测的时候却显示
Content-Type: text/plain
这是为什么啊?
关键就是没通过,,,,,,,
不是,我的站是www.gooddt.com你可以看一下,提示的信息就是因为是text/plain 类型的,无法验证。
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
但是W3C检测的时候却显示
Content-Type: text/plain
这是为什么啊?
关键就是没通过,,,,,,,
不是,我的站是www.gooddt.com你可以看一下,提示的信息就是因为是text/plain 类型的,无法验证。
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>景安</title>
</head>
<body>
</body>
</html>
现在一般都用这种方式来去定义html,目的是告诉浏览器该文件为html文件