回 帖 发 新 帖 刷新版面

主题:一个<META>信息

是这样的,小弟我初学ASP,刚学到<meta>信息时,有个疑问.
这个代码
<html>
<head>
<meta http-equiv="refresh" content="1">
</head>
<body>
现在时间是:<%=now()%>
</body>
</html>
为什么把<meta http-equiv="refresh" content="1">
换成
<meta name="refresh" content="1">就不能用了呢?
http-equiv和name有什么区别啊?

<meta name="keywords" content="关键字">
能换成
<meta http-equiv="keywords" content="关键字">吗?

刚学,什么都喜欢问个为什么?大家能帮的帮帮,我都谢过拉!

回复列表 (共2个回复)

沙发

name是名字,象ID一样。
http-equiv="refresh"是默认的每隔content个时间自动刷新

板凳

我看得还不是太清楚~~

我来回复

您尚未登录,请登录后再回复。点此登录或注册