Meta is the response header message used to simulate an HTTP protocol in an HTML document. The META tag is an accessible tag in the head area of the HTML language, which is located between the <HEAD> tag and the <TITLE> tag in the header of the HTML document, which provides information that is not visible to the user. Meta tags are often used to define page themes for search engine robots, or to define a cookie on a user's browser, which can be used to identify the author, format the page, annotate the content feed and keywords, and set the page to refresh itself according to the intervals you define. and set the RASC content level, and so on.
Name Property1, <meta name= "Generator" contect= "" > To illustrate the Build tool (such as Microsoft FrontPage 4.0), 2, <meta name= "KEYWords" contect= "" > to the search engine to explain your page keywords; 3, <meta name= "DEscription" contect= "" > Tell the Search engine the main content of your site; 4, <meta name= "Author" contect= " Your name "> tell the Search engine the author of your site's production; 5, <meta name=" Robots "contect=" All|none|index|noindex|follow|nofollow "> The properties are described as follows: set to all: The file will be retrieved, and the link on the page can be queried; set to none: The file will not be retrieved, and the link on the page cannot be queried; set to index: The file will be retrieved; set to follow: the link on the page can be queried; set to NOINDEX: The file will not be retrieved, but the link on the page can be queried; set to nofollow: The file will not be retrieved and the link on the page can be queried.
Http-equiv Property1, <meta http-equiv= "Content-type" contect= "text/html"; charset=gb_2312-80 "> <meta http-equiv=" Content-language "contect=" ZH-CN "> to illustrate the text and language used for home page production, as well as the iso-8859-1 character set in English, BIG5, Utf-8, Shift-jis, Euc, Koi8-2 and other character sets, 2, <meta http-equiv= "Refresh" contect= "N;url=http://yourlink" > Timed to let the page within the specified time n, jump to the page Http://yourlink ; 3, <meta http-equiv= "Expires" contect= "mon,12 May 2001 00:20:00 GMT" > can be used to set the expiration time of a webpage and must be recalled to the server once it expires. Note that the GMT time format must be used, 4, <meta http-equiv= "Pragma" contect= "No-cache" > is used to set the browser from the local computer cache to access the content of the page, After the setting, once left the page can not be recalled from the cache, 5, <meta http-equiv= "Set-cookie" contect= "mon,12 May 2001 00:20:00 GMT" >cookie set, if the page expires, The saved cookie will be deleted. Note that you must also use GMT time format, 6, <meta http-equiv= "Pics-label" contect= "" > Web page rating, there is a content setting in Internet options of IE to prevent browsing some restricted websites , and the site's limit level is set by the meta attribute, 7, <meta http-equiv= "Windows-target" contect= "_top" > Force page in the current window as a separate page display, You can prevent your webpage from being called by others as a frame page; 8, <meta http-equiv= "Page-enter" contect= "Revealtrans (duration=10,transtion=)" > and <meta http-equiv= "Page-eXIT "contect=" Revealtrans (duration=20,transtion=6) > Set special effects when entering and leaving the page, which is "format/page Transitions" in FrontPage, However, the added page cannot be a frame page.
Open Graph Protocol
What is the Meta property=og tag?
OG is a new HTTP header tag, the Open Graph Protocol:
The Open Graph Protocol enables any Web page to become a rich object in a social graph.+ n3}
That is, the protocol can make a Web page a "rich media object."
Using meta Property=og tags, you agree that Web content can be referenced by other social web sites, etc., the current agreement by SNS sites such as Fackbook, Renren adoption.
SNS has become a popular application on the Web, high-quality content through sharing among friends quickly spread. In order to improve the efficiency of external content dissemination, Facebook unveiled a set of open-content agreements at the F8 Conference in 2010 (open Graph Protocol), where SNS can extract the most effective information from the page and present it to the user as long as the agreement is adhered to.
1234567891011121314 |
<
meta
property=”og:type” content=”video”/>
<
meta property=”og:title” content=”五月天_突然好想你MV现场版”/>
<
meta
property=”og:image” content=”http://g1.ykimg.com/0100641F464A ... 9-76EA-E5E20A1887C4″/>
<
meta
property=”og:url” content=”http://v.youku.com/v_show/id_XMTIyMTY5NzMy.html”/>
<
meta
property=”og:videosrc” content=”http://player.youku.com/player.p ... AutoPlay=true/v.swf”/>
<
meta property=”og:width” content=”500″ />
<
meta
property=”og:height” content=”416″ />
<
meta
property=”og:type” content=”video”/>
<
meta
property=”og:title” content=”五月天_突然好想你MV现场版_AA”/>
<
meta
property=”og:image” content=”http://g1.ykimg.com/0100641F464A ... EA-E5E20A1887C44444″/>
<
meta
property=”og:url” content=”http://v.youku.com/v_show/id_XMTIyMTY5NzMyyyyyyyyyyyyyyyy.html”/>
<
meta
property=”og:videosrc” content=”http://player.youku.com/player.p ... AutoPlay=true/y.swf”/>
<
meta
property=”og:width” content=”600″ />
<
meta
property=”og:height” content=”716″/>
|
Meta tags in html and meta Property=og tag meanings