HTML拓展

一、骨架结构

<!-- 文档类型声明:HTML5 -->
<!DOCTYPE html>
<!-- 网页语言:中文用zh-CN -->
<html lang="en">
<head>
    <!-- 网页字符编码 -->
    <meta charset="UTF-8">
    <!--解决IE浏览器的兼容性  -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- 移动端使用 -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>  
</body>
</html>

二、SEO(Search Engine Optimization 搜索引擎优化)

提升网站排名方法:

  1. 竞价排名
  2. 将网页制作成 html 后缀
  3. 标签语义化,适合的地方使用合适的标签

SEO 三大标签:

  1. title 标题

  2. description 描述

  3. keywords 关键词,英文逗号分隔

<title>HTML学习</title>

<meta name="description" content="Description" />

<meta name="keywords" content="keywords1,keywords2" />

三、icon图标

<!--favicon.ico 文件放根路径-->
<!--在head内添加如下内容-->
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值