Study HTML "HTML <meta> elements
Meta data (metadata) is information about the data.
The <meta> tag provides metadata about the HTML document. The metadata is not displayed on the page, but is readable for the machine.
Typically, the meta element is used to specify the description of the page, the keywords, the author of the document, the last modification time, and other metadata.
The <meta> tag is always in the head element.
Meta data can be used in browsers (how to display content or reload pages), search engines (keywords), or other Web services. ”
The above is the original w3school.
Questions:
1, <meta name= "XXX" >name within the definition of what role? After I delete this code, the page still appears normally, and it seems that the meta tag doesn't seem to work.
2, <meta http-equiv= "Content-type" content= "text/html; charset=gb2312 "/>
Use gb2312 for page forcing to prevent page garbled. But it also seems that UTF-8 can be used?
In addition, the meaning of content=text/html is not clear, to open the Web page, the action taken by the computer that the user opened the Web page This action contains the process has not been understood, should pay more attention.
But Baidu after the successor but do not quite understand, so first hard back down, leave the doubt in the future slowly solve
<meta> tags