Home > Article > Web Front-end > How to use head tags in HTML
1aa9e5d373740b65a0cc8f0a02150c53
## The head element contains all head tag elements and can be added The element tags in the head area are:
## b2386ffb911b14667cb8f0f91ea547a7, c9ccee2e6ea535a969eb3f532ad9fe89, e8e496c15ba93d81f6ea4fe5f55a2244, 2cdf5bf648cf2f33323966d7f58a7f3f, d77577bf2a9e22f086427bdbd63c48a6, dde6fb694e6711ae5e6f381704c04ae4
## The following will explain the functions of each tag one by one
b2386ffb911b14667cb8f0f91ea547a7
##When a web page is added to favorites, the title displayed in the favorites
##The title displayed on the search engine results page
## eg: <title> 我是标题 </title>
<span style="font-size: 15px;"><span style="font-family: 'Microsoft YaHei';"> 标签描述了基本的链接地址/链接目标,该标签作为HTML文档中所有的链接标签的默认链接。</span><br/></span>
eg: <base href="www.beck.ren/images/" target="_blank"></base>
标签定义了文档与外部资源之间的关系,通常用于链接样式表。
eg: <link type="text/css" href="../index.css">
标签定义了HTML文档的样式文件引用地址.内容指定样式渲染HTML文档
eg: <style> *{ margin:0; padding: 0; } <style> //css写法rrree
meta tag describes basic metadata
##The browser will parse the metadata provided by the tag, but the metadata will not be displayed on the page
<meta>3f1c4e4b6b16bbbd69b2ee476dc4f83a
eg: //定义关键字 <meta name="keywords content="HTML, CSS, XML, XHTML, JavaScript""> //定义描述内容 <meta name="description" content="Free Web tutorials on HTML and CSS"> //定义作者 <meta name="author" content="Hege Refsnes"> //定义每30秒刷新当前页面 <meta http-equiv="refresh" content="30">
标签定义了 HTML 文档的 JS 文件引用地址.
The above is the detailed content of How to use head tags in HTML. For more information, please follow other related articles on the PHP Chinese website!