Job Recruitment Website - Recruitment portal - What is an html meta tag?
What is an html meta tag?
Meta is an auxiliary tag in the header area of html language. In almost all web pages, we can see html code similar to the following paragraph:
< head >
?
& ltlink href = " URL " rev = " relationship " >
3. Foundation (basic link)
Description: Inserts page basic link properties.
Usage:
Note: All relative paths on the web page will be preceded by a "URL" link. Where target="_blank "means that the linked file opens in a new window, and you can make other settings. Changing "_blank" to "_parent" means that the linked file will be opened in the parent window of the current window; Change to "_self" to open the linked file in the current window (frame); Change to "_top" linked file to display in full screen.
How to use Meta:
Meta tag is a language used to describe the properties of web pages. Standard Meta tags can facilitate the ranking of search engines and improve the ranking of search engine websites. If you want to make your website more in line with search engine standards, you must understand meta tags. Here, Seoer will talk about the meaning and usage of meta tags:
1, keyword of META tag
Written as: < meta name = "keywords" content = "information parameters"/>
The keyword information parameter in the meat label indicates what the keywords of the website are.
2. Description of meta tag
& ltmeta name = " Description " content = " information parameter "/>
The information parameters described in the meat label represent the main content and general situation of the website.
3. http-equiv = content-type content = "text/html" of 3.META tag.
Http-equiv=Content-Type indicates the header protocol of http, and prompts the web page information of the browser.
& ltmeta http-equiv = " Content-Type " Content = " text/html; Charset= information parameter "/>
When the information parameter described in the meat label is GB23 12, it means that the code adopted by the website is simplified Chinese;
When the information parameter described in the meat label is BIG5, it means that the coding adopted by the website is traditional Chinese;
When the information parameter described in the meat label is iso-2022-jp, it means that the code adopted by the website is Japanese;
When the information parameter described in the meat label is ks_c_560 1, it means that the code adopted by the website is Korean;
When the information parameter described in the meat label is ISO-8859- 1, it means that the code used in the website is English;
When the information parameter described in the meat label is UTF-8, it means universal language coding;
4. Meta tag generator
& ltmeta name = " generator " content = " information parameter "/>
The information parameters of the meat label generator indicate what software is used to explain the adoption of the website.
5. Author of 5.META tag
& ltMeta name= "author" content= "information parameter" >
The information parameter of the meat label author indicates the information of the copyright author of the web page.
6.META tag = "refresh" http-equiv
& ltmeta http-equiv = " refresh " content = " time; Url= URL parameter ">?
The refresh of the meat label indicates how long it takes for the webpage to refresh automatically, and the Url parameter in the URL indicates how long it takes to automatically link to other URLs.
7. http-equiv = "pragma" content = "no-cache" of 7.META tag.
& ltMETA HTTP-EQUIV = " Pragma " CONTENT = " no-cache " & gt; Represents that the browser is prohibited from accessing the contents of the page from the cache of the local computer. This setting, access.
Questioners will not be able to browse offline.
8. Copyright of 8.META tag
& ltMETA NAME= "copyright" CONTENT= "information parameter" >
The copyright information parameter of meat label represents the copyright information of the website.
9. http-equiv="imagetoolbar "of 9.META tag.
& ltmeta http-equiv = " image toolbar " content = " false "/& gt; ?
Specifies whether to display the picture toolbar. If false, it means no display, if true, it means display.
10, content script type of meta tag.
& ltmeta http-equiv = " Content-Script-Type " Content = " text/JavaScript " & gt;
W3C web page specification, indicating the type of script in the page.
1 1, after revisiting the META tag.
& ltMETA name= "After revisiting" CONTENT="7 days ">?
After revisiting, it means revisiting the website, 7 days means 7 days, and so on.
Robots with 12 and META tags
& ltmeta name = " Robots " contact = " information parameter " >?
The robot representative tells the search engine which pages the robot grabs.
These attributes are described as follows:
The information parameter is all: the file will be retrieved and the links on the page can be queried;
The information parameter is none: the file will not be retrieved and the links on the page cannot be queried;
The information parameter is index: the file will be retrieved;
The information parameters are as follows: you can query the links on the page;
The information parameter is noindex: files are not retrieved, but links on the page can be queried;
The information parameter is nofollow: you can query the links on the page without retrieving files.
13, META tag < meta http-equiv = "windows-target" contact = "_ top" >
The representative page is displayed as an independent page in the current window, which can prevent your own page from being called a frame page by others. Set to: _ Blank, _ Top, _ Self, _ Parent.
14, set the cookie of the meta tag.
& ltmeta http-equiv = " set-cookie " contect = " Mon, 12 May 2006 54 38+0 00:20:00 GMT " >
Represents a Cookie setting. If the webpage expires, the saved cookie will be deleted. Also note that GMT time format must be used.
- Previous article:Which plate of Shanghai Lingang real estate is good?
- Next article:Top Ten Cement Brands in Guangxi
- Related articles
- How much start-up capital does it take to open a small and medium-sized carton factory? What equipment do you need?
- How about Suihua Jiahe rice industry co., ltd?
- What are the specialties in Shenzhen?
- A subsidiary group of Komi International Film and Television
- Who knows where the talent market in Shangyu is?
- What about Beijing besute industrial development co., ltd?
- How many hospitals are there in Jinzhou?
- What are the local pillar industries in Chongqing? Which industry is the main force of Chongqing's foreign trade?
- Fuding's questions about digital cameras, I scored because I am familiar with Fuding!
- Recruitment information for Huo Jianjun, a road transport operator in Qudi Village, Duanshi Town, Qinshui County. How about Huo Jianjun, a road transport operator in Qudi Village, Duanshi Town, Qinshu