Home >Web Front-end >HTML Tutorial >Summary of 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>
Tags describe the basic Link address/link target, this tag serves as the default link for all link tags in the HTML document.
eg: <base href="www.beck.ren/images/" target="_blank"></base>
标签定义了文档与外部资源之间的关系,通常用于链接样式表。
eg: <link type="text/css" href="../index.css">
The tag defines the reference address of the style file of the HTML document. The content specifies the style to render the HTML document
eg: <style> *{ margin:0; padding: 0; } <style> //css写法
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
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">
27835793f4768f4164d1421d99e293bc
eg: <script src="loading.js"></script>
The above is the detailed content of Summary of head tags in html. For more information, please follow other related articles on the PHP Chinese website!