当前位置: 代码迷 >> HTML/CSS >> html温习3:meta
  详细解决方案

html温习3:meta

热度:416   发布时间:2013-01-23 10:44:49.0
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>

  相关解决方案