I. Header element
1. <tiitle> element
The viewer browses the webpage and becomes the file name of the saved webpage. The webpage title is a search keyword.
<Title> tomato and potato </titile>
2. <base> Elements
The <base> tag in a document can only have one tag. It is used to convert a relative URL to a complete absolute URL, which specifies the default address or default target for all links on the page.
<Base href = "URL" target = "WINDOW_NAME"/> for example, <base href = "www.baidu.com" target = "_ blank"/>
3. <link> Elements
Link used to create a CSS style sheet
<link rel="stylesheet" type="tezt/css" href="style.css"/>
4. <meta> Elements
The <meta> tag attribute is used to define the file information Name and content. The HTML header can contain any number of <meta> tags.
<Meta name = "a set value" content = "Additional Information for this set value"/> <meta http-equiv = "a set value" content = "pair for example, <meta name = "keywords" content = "mobile games"/> <meta name = "description" content = "Android forum "/> <meta name =" generator "content =" Discuz! X2.5 "/> <meta name =" author "content =" Discuz! Team and Comsenz UI Team "/> <meta name =" copyright "content =" 2001-2012 Comsenz Inc. "/> <meta name =" MSSmartTagsPreventParsing "content =" True "/> <meta http-equiv =" MSThemeCompatible "content =" Yes "/>
Note that the Keywords and Description attributes in <meta> are set. When you search for a search engine, you can search for the Keywords and Description on the page and add them to your own database.