1, the role?
Declare the resolution type of the document, avoiding the browser's bizarre pattern
Backcompact: Weird mode, the browser uses its own weird mode to parse the rendered page
Css1compact: Standard mode, browser uses the standard resolution rendering page.
Element in head title: Defining the title in the browser toolbar
<tilte>百度一下,你就知道</title>
Link
1. Label defines the link between the document and the external resources
2. Tags are often used to link style sheets
<link rel="styleheet" type="text/css" href="mystye.css/><link rel=‘icon‘ href=‘fav.ico‘>
Style
Defining internal styles
<style type="text/css></style>
Script
Define JS code, or introduce JS file
<script src="xxx.js"></script>
Meta
1. HTTP-EQUIV Properties
<!--重定向 2秒后跳转到对应的网址,注意分号--><meta http-equiv="refresh" content="2;URL=http://www.luffycity.com"><!--指定文档的内容类型和编码类型 --><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><!--告诉IE浏览器以最高级模式渲染当前网页--><meta http-equiv="x-ua-compatible" content="IE=edge">
2. Name property
Mainly used for page keywords and descriptions, is written to the search engine to see, the keyword can have a number of ', ' separated, with the corresponding attribute value for content,content content is easy search engine robot to find information and classified information with
<meta name="keywords" content="meta总结,html meta,meta属性,meta跳转"><meta name="description" content="路飞学城">
HTML Tag Summary