<meta>标记一般用来定义页面信息的名称、关键字、作者等。
<html>
<head>
<title>设置页面关键字</title>
<meta name="keywords" content="为页面关键字"></meta>
<meta name="description" content="对页面的描述"></meta>
<meta name="generator" content="编辑软件的名称"></meta>
<meta name="author" content="作者的姓名"></meta>
<meta name="robots" content="限制对页面的搜索方式"></meta>
</head>
<body>
</body>
</html>
网页文字及语言:
第一种方法: <meta http-equiv="Content-Type" content="text/html";charset="字符集类型">
第二种方法: <meta http-equiv="Content-Language" content="语言">
定时跳转页面:
<html>
<head>
<title>设置网页的定时跳转</title>
<meta http-equiv="refresh" content="3;url=http://www.mingribook.com">
</head>
<body>
您好,本页在三秒后将自动跳转到明日图书网
</body>
</html>
有效期的设置:
<html>
<head>
<title>设置有效期限,网页的到期时间</title>
<meta http-equiv="expires" content="Web, 14 september 2012 16:20:00 GMT ">//到期的时间必须是GMT时间格式
</head>
<body>
</body>
</html>
禁止从缓存中调用
删除过期的cookie
强制打开新页面
网页的过渡效果设置