## The head element contains all head tag elements and can be added The element tags in the head area are: ## , , <meta>, <link>, <script> ;, <noscript>, <base><span style="font-size: 14pt; font-family: 'Microsoft YaHei';"><span style="font-size: 16px;"></span></span></p>## The following will explain the functions of each tag one by one<p><span style="font-size: 14pt; font-family: 'Microsoft YaHei';"><span style="font-size: 16px;"></span> </span></p> <p><title><strong><span style="font-size: 14pt;"><span style="font-size: 16px;"></span></span></strong></p> <ol class=" list-paddingleft-2">##Used to define the titles of different documents<li> <p><span style="font-size: 14pt; font-family: 'Microsoft YaHei';"><span style="font-size: 16px;"></span></span></p> </li>Define the title of the browser toolbar<li> <p><span style="font-size: 14pt; font-family: 'Microsoft YaHei';"><span style="font-size: 16px;"></span></span></p> ##When a web page is added to favorites, the title displayed in the favorites</li> <li><p><span style="font-size: 14pt; font-family: 'Microsoft YaHei';"><span style="font-size: 16px;"></span></span>##The title displayed on the search engine results page</p></li> <li><p><span style="font-size: 14pt; font-family: 'Microsoft YaHei';"><span style="font-size: 16px;"></span>##<div class="code" style="position:relative; padding:0px; margin:0px;"><pre class="brush:html;toolbar:false;"> eg: <title> 我是标题 </title></pre><div class="contentsignin">Copy after login</div></div></span></p><base></li></ol><p class="cnblogs_code"><br/> Tags describe the basic Link address/link target, this tag serves as the default link for all link tags in the HTML document. </p><h3 class="public-p-title"><span style="font-size: 16px;"></span></h3><p><div class="code" style="position:relative; padding:0px; margin:0px;"><pre class="brush:html;toolbar:false;"> eg: <base href="www.beck.ren/images/" target="_blank"></base></pre><div class="contentsignin">Copy after login</div></div><span style="font-size: 16px;"><br/><link></span></p><div class="code" style="position:relative; padding:0px; margin:0px;"><pre class="public-pre"> 标签定义了文档与外部资源之间的关系,通常用于链接样式表。</pre><div class="contentsignin">Copy after login</div></div><p class="cnblogs_code"><br/></p><div class="code" style="position:relative; padding:0px; margin:0px;"><pre class="brush:html;toolbar:false;"> eg: <link type="text/css" href="../index.css"></pre><div class="contentsignin">Copy after login</div></div><h3 class="public-p-title"><span style="font-size: 16px;"><style></span></h3><p class="cnblogs_code"> The tag defines the reference address of the style file of the HTML document. The content specifies the style to render the HTML document<br/></p><div class="code" style="position:relative; padding:0px; margin:0px;"><pre class="brush:html;toolbar:false">eg: <style> *{ margin:0; padding: 0; } <style> //css写法</pre><div class="contentsignin">Copy after login</div></div><h3 class="public-p-title"><span style="font-size: 16px;"></span></h3><p>meta tag describes basic metadata<br/></p><ol class=" list-paddingleft-2"><li><p><span style="font-family: 'Microsoft YaHei';"><span style="font-size: 16px;"></span><span style="font-size: 15px;"><span style="font-size: 16px;"><strong><br/></strong>##The browser will parse the metadata provided by the tag, but the metadata will not be displayed on the page</span></span></span></p></li>##meta element is usually used to specify the "description" of a web page ", "Keywords", "Last modified time of file", "Author",... <li><p><span style="font-size: 16px; font-family: 'Microsoft YaHei';"></span></p></li>Metadata can tell the browser ( How to display content or reload the page) and search engines (keywords), and other web services<li><p><span style="font-size: 16px; font-family: 'Microsoft YaHei';"></span></p></li>##<div class="code" style="position:relative; padding:0px; margin:0px;"><pre class="brush:html;toolbar:false;">1 eg: 2 //定义关键字 3 <meta name="keywords content="HTML, CSS, XML, XHTML, JavaScript""> 4 //定义描述内容 5 <meta name="description" content="Free Web tutorials on HTML and CSS"> 6 //定义作者 7 <meta name="author" content="Hege Refsnes"> 8 //定义每30秒刷新当前页面 9 <meta http-equiv="refresh" content="30"></pre><div class="contentsignin">Copy after login</div></div><li><p>< script><span style="font-size: 16px; font-family: 'Microsoft YaHei';"></span></p></li> tag defines the JS file reference address of the HTML document.</ol><p class="cnblogs_code"><br/></p><h3 class="public-p-title">##<div class="code" style="position:relative; padding:0px; margin:0px;"><pre class="brush:html;toolbar:false;">eg: <script src="loading.js"></script></pre><div class="contentsignin">Copy after login</div></div></span></p></li> </ol>