日期:2014-05-17  浏览次数:20506 次

html复习3:meta
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf8" /> <!-- http-equiv属性,content属性,charset属性 -->

<meta name="author" content="w3school.com.cn">                       <!--最普遍的是name属性和content属性,一般来说,content是对前面的详细解释-->

<meta name="revised" content="David Yang,8/1/07">
 
<meta name="generator" content="Dreamweaver 8.0en">

</head>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

<meta name="description" content="HTML examples">

<meta name="keywords" content="HTML, DHTML, CSS, XML, XHTML, JavaScript, VBScript"> <!--关键词,这样就能被爬虫爬到-->

</head>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="Refresh" content="5;url=http://www.w3school.com.cn">  <!--重定向-->

</head>