HTML中head和meta标签以及其他

head标签:
        title:
            标题<title></title>
        meta:
            简化字符集设置:<meta charset="utf-8"/>
            标准字符集设置:<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
            关键字:<meta name="keywords" content=""/>类似键值对,content相当于value
            网页描述:<meta name="description" content=""/>
            刷新跳转:<meta http-equiv="refresh" content="3" url="资源文件"/>,3秒后刷新跳转

       注意:关键字和网页描述可以作为搜索引擎(网络爬虫)爬取的首选项
        link:
            加载文件:<link rel="stylesheet" type=text/css" href="文件路径"/>
            <meta name=>
    无意义标签:
        说明:没有特殊意义的标签,但是可以结合css和js使用
        常用:
            块级标签:div、header、rooter、selection
            行级标签:span

猜你喜欢

转载自blog.csdn.net/ryuhfxz/article/details/83098693