<!-- 頁面的短描述(至多150個字符) --> <!-- 在某些情況下,描述會作為搜索結果的顯示文字--> <metaname="description"content="A description of the page">
<!-- 控制搜索引擎爬蟲和索引的行為 --> <metaname="robots"content="index,follow,noodp"><!-- All Search Engines --> <metaname="googlebot"content="index,follow"><!-- Google Specific -->
<!-- 告訴 Google 不要再搜索框裡面顯示網站鏈接--> <metaname="google"content="nositelinkssearchbox">
<!-- 告訴 Google 不要翻譯這個頁面 --> <metaname="google"content="notranslate">
<!-- 對於 Google 搜索驗證所有權 --> <metaname="google-site-verification"content="verification_token">
<!-- Used to declare the document language, but not well supported. Better to use <html lang=""> --> <metaname="language"content="en">
<!-- Google disregards & Bing considers it an indicator of spam --> <metaname="keywords"content="your,keywords,here,comma,separated,no,spaces"> <!-- No evidence of current use in any search engines --> <metaname="revised"content="Sunday, July 18th, 2010, 5:15 pm">
<!-- Provides an easy way for spam bots to harvest email addresses --> <metaname="reply-to"content="email@example.com">
<!-- Better to use <link rel="author"> or humans.txt file --> <metaname="author"content="name, email@example.com"> <metaname="designer"content=""> <metaname="owner"content="">
<!-- Tells search bots to revisit the page after a period. This is not supported because most Search Engines now use random intervals for re-crawling a webpage --> <metaname="revisit-after"content="7 days">
<!-- Sends user to a new URL after a certain amount of time --> <!-- The W3C recommends that this tag not be used. Google recommends using a server-side 301 redirect instead. --> <metahttp-equiv="refresh"content="300; url=https://example.com/">
<!-- Describes the topic of the website --> <metaname="topic"content="">
<!-- Brief summary of the company or purpose of the website --> <metaname="summary"content="">
<!-- A deprecated tag that does the same as the keywords meta tag --> <metaname="classification"content="business">
<!-- Does the same as URL, older and not supported --> <metaname="identifier-URL"content="https://example.com/">
<!-- Similar function to the keywords tag --> <metaname="category"content="">
<!-- Makes sure your website shows up in all countries and languages --> <metaname="coverage"content="Worldwide">
<!-- Does the same as the coverage tag --> <metaname="distribution"content="Global">
<!-- Controls what user can access on the internet --> <metahttp-equiv="Pics-label"content="value">
<!-- Cache Control --> <!-- Better to configure cache control server side --> <metahttp-equiv="Expires"content="0"> <metahttp-equiv="Pragma"content="no-cache"> <metahttp-equiv="Cache-Control"content="no-cache">
<!-- Used to be included before the icon link, but is deprecated and no longer is used --> <linkrel="shortlink"href="https://example.com/?p=42">
<!-- Links to an AMP HTML version of the current document --> <linkrel="amphtml"href="https://example.com/path/to/amp-version.html">
<!-- Points to a CSS stylesheet --> <linkrel="stylesheet"href="https://example.com/styles.css">
<!-- Links to a JSON file that specifies "installation" credentials for web applications --> <linkrel="manifest"href="manifest.json">
<!-- Links to the author of the document --> <linkrel="author"href="humans.txt">
<!-- Refers to a copyright statement that applies to the links context --> <linkrel="copyright"href="copyright.html">
<!-- Gives a reference to a location in your document that may be in another language --> <linkrel="alternate"href="https://es.example.com/"hreflang="es">
<!-- Gives information about an author or another person --> <linkrel="me"href="https://google.com/profiles/thenextweb"type="text/html"> <linkrel="me"href="mailto:name@example.com"> <linkrel="me"href="sms:+15035550125">
<!-- Links to a document that contains an archive link to the current document --> <linkrel="archives"href="https://example.com/2003/05/"title="May 2003">
<!-- Links to top level resource in an hierarchical structure --> <linkrel="index"href="https://example.com/"title="DeWitt Clinton">
<!-- Gives the starting point of the document --> <linkrel="start"href="https://example.com/photos/pattern_recognition_1_about/"title="Pattern Recognition 1">
<!-- Leads to the preceding resource of the sequence the current document is in --> <linkrel="prev"href="https://example.com/opensearch/opensearch-and-openid-a-sure-way-to-get-my-attention/"title="OpenSearch and OpenID? A sure way to get my attention.">
<!-- Gives a self reference - useful when the document has multiple possible references --> <linkrel="self"type="application/atom+xml"href="https://example.com/atomFeed.php?page=3">
<!-- The first, next, previous, and last documents in a series of documents, respectively --> <linkrel="first"href="https://example.com/atomFeed.php"> <linkrel="next"href="https://example.com/atomFeed.php?page=4"> <linkrel="previous"href="https://example.com/atomFeed.php?page=2"> <linkrel="last"href="https://example.com/atomFeed.php?page=147">
<!-- Used when using a 3rd party service to maintain a blog --> <linkrel="EditURI"href="https://example.com/xmlrpc.php?rsd"type="application/rsd+xml"title="RSD">
<!-- Forms an automated comment when another WordPress blog links to your WordPress blog or post --> <linkrel="pingback"href="https://example.com/xmlrpc.php">
<!-- Notifies a url when you link to it on your site --> <linkrel="webmention"href="https://example.com/webmention">
<!-- Loads in an external HTML file into the current HTML file --> <linkrel="import"href="component.html">
<!-- Open Search --> <linkrel="search"href="/open-search.xml"type="application/opensearchdescription+xml"title="Search Title">
<!-- Not useful, proprietary and buggy, see https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/Y_2eFRh9BOs/gULYapoRBwAJ --> <linkrel="subresource"href="styles.css">
<linkhref="https://plus.google.com/+YourPage"rel="publisher"> <metaitemprop="name"content="Content Title"> <metaitemprop="description"content="Content description less than 200 characters"> <metaitemprop="image"content="https://example.com/image.jpg">
Pinterest
Pinterest lets you prevent people from saving things from your website, according to their help center. The description is optional.
1
<metaname="pinterest"content="nopin"description="Sorry, you can't save from my website!">
<!-- Disable automatic detection and formatting of possible phone numbers --> <metaname="format-detection"content="telephone=no">
<!-- Add to Home Screen --> <metaname="apple-mobile-web-app-capable"content="yes"> <metaname="apple-mobile-web-app-status-bar-style"content="black"> <metaname="apple-mobile-web-app-title"content="App Title">
<!-- Touch Icons --> <linkrel="apple-touch-icon"href="path/to/apple-touch-icon.png"> <linkrel="apple-touch-icon-precomposed"href="path/to/apple-touch-icon-precomposed.png"> <!-- iOS 8+ no longer support precomposed, only apple-touch-icon is required -->
<!-- In most cases, one 180×180px touch icon in the head is enough --> <!-- Utilize the different icon sizes if you would want unique icons --> <!-- determined by device. --> <linkrel="apple-touch-icon"sizes="57x57"href="path/to/icon@57.png"> <linkrel="apple-touch-icon"sizes="72x72"href="path/to/icon@72.png"> <linkrel="apple-touch-icon"sizes="114x114"href="path/to/icon@114.png"> <linkrel="apple-touch-icon"sizes="144x144"href="path/to/icon@144.png">
<!-- Pinned Site --> <linkrel="mask-icon"href="path/to/icon.svg"color="red">
Google
Android 系列:
1 2 3 4 5 6 7 8 9
<metaname="theme-color"content="#E64545">
<!-- Add to home screen --> <metaname="mobile-web-app-capable"content="yes"> <!-- More info: https://developer.chrome.com/multidevice/android/installtohomescreen -->
<!-- Android app deep linking --> <metaname="google-play-app"content="app-id=package-name"> <linkrel="alternate"href="android-app://package-name/http/url-sample.com">
Since Chrome 31, you can set up your web app to “app mode” like Safari.
1 2 3 4 5 6 7 8 9 10 11 12 13
<!-- Link to a manifest and define the manifest metadata. --> <!-- The example of manifest.json could be found in the link below. --> <linkrel="manifest"href="manifest.json">
<!-- Define your web page as a web app --> <metaname="mobile-web-app-capable"content="yes">
<!-- The first one is the official recommended format. --> <linkrel="icon"sizes="192x192"href="nice-highres.png"> <linkrel="icon"sizes="128x128"href="niceicon.png"> <!-- Formats with Apple prefix will be deprecated. --> <linkrel="apple-touch-icon"sizes="128x128"href="niceicon.png"> <linkrel="apple-touch-icon-precomposed"sizes="128x128"href="niceicon.png">
<!-- Disable link highlighting on IE 10 on Windows Phone (https://blogs.windows.com/buildingapps/2012/11/15/adapting-your-webkit-optimized-site-for-internet-explorer-10/) --> <metaname="msapplication-tap-highlight"content="no">