In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces "what is the role of the meta tag of Java". In the daily operation, I believe that many people have doubts about the role of the meta tag of Java. The editor consulted all kinds of information and sorted out a simple and easy-to-use method of operation. I hope it will be helpful to answer the question of "what is the role of the meta tag of Java?" Next, please follow the editor to study!
In fact, the meta tag has two attributes, which are the http-equiv attribute and the name attribute.
1. Please explain the function of meta tag.
Answer:
Meta is a response header message used to simulate the HTTP protocol in HTML documents. The meta tag is used in < head > and < / head > of a web page, and the meta tag is of many uses. There are two properties of meta: name and http-equiv. Name attribute is mainly used to describe web pages, corresponding to content (web content), so as to facilitate search engine robots to find and classify web pages. (at present, almost all search engines use web robots to automatically find meta values to classify web pages). The most important of these are description (description of the site on the search engine) and keywords (classification keywords), so you should add a metastatic value to each page. The more commonly used ones are as follows:
Name attribute
1). < metaname= "Generator" contect= "" > is used to describe build tools (such as MicrosoftFrontPage4.0), etc.
2). < metaname= "KEYWords" contect= "" > explains the keywords of your page to the search engine.
3). < metaname= "DEscription" contect= "" > tells the search engine the main content of your site
4). < metaname= "Author" contect= "your name" > tell the search engine the author of your site
5) < metaname= "Robots" contect=
"all | none | index | noindex | follow | nofollow" >
The attributes are described as follows:
Set to all: the file will be retrieved and the links on the page can be queried
Set to none: files will not be retrieved and links on the page cannot be queried
Set to index: the file will be retrieved
Set to follow: links on the page can be queried
Set to noindex: files will not be retrieved, but links on the page can be queried
Set to nofollow: files will not be retrieved and links on the page can be queried.
6) .http-equiv attribute
A, < metahttp-equiv= "Content-Type" contect= "text/html"; charset=gbk ">
And < metahttp-equiv= "Content-Language" contect= "zh-CN" > are used to illustrate the text and language used to make the home page.
B, < metahttp-equiv= "Refresh" contect= "ntransferurl = http://yourlink" > regularly let the web page jump to the page http;//yourlink within the specified time n
C. < metahttp-equiv= "Expires" contect= "Mon,12May200100:20:00GMT" > can be used to set the expiration time of a web page. Once it expires, it must be called again on the server. It is important to note that the GMT time format must be used
D. < metahttp-equiv= "Pragma" contect= "no-cache" > is set to prevent browsers from accessing page content from the local cache. Once you leave the page, you can't call it out of Cache.
E, < metahttp-equiv= "set-cookie" contect= "Mon,12May200100:20:00GMT" > cookie setting, if the web page expires, the saved cookie will be deleted. It should also be noted that the GMT time format must be used.
F, < metahttp-equiv= "Pics-label" contect= "> page rating. There is a content setting in the internet option of IE to prevent browsing some restricted websites, and the restriction level of the website is set through the meta property.
G, < metahttp-equiv= "windows-Target" contect= "_ top" > forces the page to be displayed as a separate page in the current window, which can prevent your own page from being called as a frame page.
H, < metahttp-equiv= "Page-Enter" contect= "revealTrans (duration=10,transtion=50)" > and < metahttp-equiv= "Page-Exit"
Contect= "revealTrans (duration=20,transtion=6)" > sets the special effect when entering and leaving the page, that is, the "format / page transition" in FrontPage, but the added page cannot be a frame page.
At this point, the study on "what is the role of the meta tag of Java" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.