4.
@刘海不遮眼,html分为头(head)和主体(body)两部分。head里定义标题、字符编码、css等帮助主体部分正常显示的信息。
<meta http-equiv="content-type" content="text/html; charset=utf-8" />定义网站采用utf-8编码。
<meta http-equiv="content-language" content="zh-cn" />定义了语言是中文简体。
<meta name="robots" content="all" />允许所有搜索引擎访问这个页面。
6.
@刘海不遮眼,把禁止协议放在根目录的robots.txt里最好。搜robots.txt