Html, met head tag

<Head> </ head> tag at the head of the html document, is mainly used to describe various properties and information of the document, including the title of the document and the like, of course, the data contained in the document header will not show as real content to visitors of.

Some commonly used as tags <head> and </ head> tag section:
<head>
<title> </ title>
<Meta>
<Link>
<style> ... </ style>
<Script> ... < / Script>
</ head>
<title> </ title> tags: text and in between the <title> </ title> is the title page of information, it will appear in the browser's title column. What is the main content of the page <title> </ title> tag is used to inform users and search engines this page, the search engine can quickly interpret the theme of the current page by page title. The content of each page is different, each page should have a unique title.

The code shown below:

 1 <!DOCTYPE html>
 2 <html lang="en">
 3 <head>
 4     <meta charset="UTF-8">
 5     <meta name="viewport" content="width=device-width, initial-scale=1.0">
 6     <meta http-equiv="X-UA-Compatible" content="ie=edge">
 7     <title>认识html标签</title>
 8 </head>
 9 <body>
10 <p>举例如下:</p>
11 &lt;head&gt;
12 &lt;title&gt;认识html标签&lt;/title&gt;
13 &lt;/head&gt;
14 </body>
15 </html>

Browser display of results as follows:

Guess you like

Origin www.cnblogs.com/dhnblog/p/12287838.html