Html Tag learning, html Tag
1. title:
H
Ttp-equiv = "Content-Type": the http-equiv attribute provides a name for the name/value pair. And instruct the server to include the name/value pair in the header of the MIME document to be sent to the browser before sending the actual document. When the server sends a document to a browser, it first sends many name/value pairs. Although some servers send many such name/value pairs, all servers must send at least one: content-type: text/html. This tells the browser to accept an HTML document. When the <meta> tag with the http-equiv attribute is used, the server adds the name/value pair to the Content Header sent to the browser. content = text/html: text/html is a standard file type ing description, which can be called MIME and is common to all platforms. In addition to text/html, there are also text/css, text/javascript, application/vnd. ms-excel, and so on. The browser uses the Content-Type mark to understand the file Type, rather than the suffix name. This is an html file charset = UTF-8: encoding method, using UTF-8 encoding