html header

本文详细介绍了HTML中的元标签使用方法及属性,包括设置文件编码、过期时间、禁止缓存、重新定向等功能,并探讨了如何利用元标签进行网页优化。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

"http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312"><!--设置网页的文件编码-->

<meta http-equiv="expires" content="2005/05/05 18:00:00"><!--脱机浏览的过期时间-->

<meta http-equiv="pragma" content="no-cache"><!--禁止网页从缓存中读取-->

<meta http-equiv="Refresh" content="5;http://users7.nofeehost.com/luan123/"><!--网页重新定向-->

<meta http-equiv="set-cookie" content="2005/05/05 18:00:00"><!--设置网页的cookie过期时间-->

<meta http-equiv="Window-target" content="_top"><!--设置网页中链接的目标窗口-->

<meta http-equiv="Page-Enter" content="revealTrans(duration=1000000,transition=50000000)"><!--设置网页的打开效果-->

<meta http-equiv="Page-Exit" content="revealTrans(duration=1000000,transition=50000000)"><!--设置网页的关闭效果-->

<meta name="keywords" content="overmind,zerg,protoss"><!--设置网页的关键字,搜索的时候优先!!!重要!!! 该数据被搜索引擎编入索引-->

<meta name="description" content="哈哈哈哈哈"><!--插入描述 搜索时被搜索引擎编入索引-->

<title>无标题文档</title>

</head>

<body>

aaa

</body>

</html>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值