Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 9th, 2012  |  syntax: None  |  size: 5.30 KB  |  hits: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <!DOCTYPE html>
  2.  
  3. <!-- Helpful things to keep in your <head/>
  4.   // Brian Blakely, 360i
  5.   // http://twitter.com/brianblakely/  
  6. -->
  7.   <head>
  8.  
  9.     <!-- Disable automatic DNS prefetching.
  10.          
  11.          WARNING: THIS MAY MAKE YOUR SITE SLOWER IF YOU RELY ON RESOURCES FROM FOREIGN DOMAINS. -->
  12.     <meta http-equiv="x-dns-prefetch-control" content="off">
  13.  
  14.     <!-- Make a DNS handshake with a foreign domain before the user needs to access it.
  15.          This happens in parallel with other connections, and can speed up your site.
  16.  
  17.          More information: https://github.com/paulirish/html5-boilerplate/wiki/DNS-Prefetching -->
  18.     <link rel="dns-prefetch" href="//example.com">
  19.    
  20.     <!-- According to Heather Champ, former community manager at flickr,
  21.          you should not allow search engines to index your "Contact Us"
  22.          or "Complaints" page if you value your sanity. This is an HTML-
  23.          centric way of achieving that.
  24.          
  25.          WARNING: DO NOT INCLUDE ON PAGES THAT SHOULD APPEAR IN SEARCH ENGINES. -->
  26.     <meta name="robots" content="noindex" />
  27.    
  28.     <!-- Suppress IE6's pop-up-on-mouseover toolbar for images, that can
  29.          interfere with certain designs. -->
  30.     <meta http-equiv="imagetoolbar" content="false" />
  31.    
  32.    
  33.     <!-- IE9 Pinned Site Settings!
  34.          Documentation: http://msdn.microsoft.com/en-ca/library/gg131029(VS.85).aspx
  35.          See the documentation for JavaScript APIs, as well. -->
  36.    
  37.     <!-- Pinned site name, as Windows sees it - this will be the page title
  38.          by default, unless you include this rule. -->
  39.     <meta name="application-name" content="Sample Title" />
  40.    
  41.     <!-- Pinned shortcuts also get a tooltip - this is it. -->
  42.     <meta name="msapplication-tooltip" content="A description of what this site does." />
  43.    
  44.     <!-- If the site should go to a specific URL when it is pinned (such as
  45.          the homepage), enter it here.
  46.          One idea is to send it to a special URL so you can track # of pinned users,
  47.          like so: http://www.example.com/index.html?pinned=true -->
  48.     <meta name="msapplication-starturl" content="" />
  49.    
  50.     <!-- IE9 will automatically use the overall color of your site's favicon to
  51.          shade its browser buttons.  UNLESS you give it another color here.
  52.          Only use named colors ("red") or hex colors ("#f00"). -->
  53.     <meta name="msapplication-navbutton-color" content=""/>
  54.    
  55.     <!-- If the site should open at a certain window size once
  56.          pinned, you can specify the dimensions here.
  57.          It only supports static pixel dimensions. 800x600 minimum. -->
  58.     <meta name="msapplication-window" content="width=800;height=600"/>
  59.    
  60.     <!-- Define Jump List tasks that will appear when the pinned site's
  61.          icon gets a right-click. Each "task" goes to the specified URL,
  62.          and gets its own mini icon (essentially a favicon, a 16x16 .ICO). -->
  63.     <meta name="msapplication-task" content="name=Task 1;action-uri=http://host/Page1.html;icon-uri=http://host/icon1.ico"/>
  64.     <meta name="msapplication-task" content="name=Task 2;action-uri=http://microsoft.com/Page2.html;icon-uri=http://host/icon2.ico"/>
  65.  
  66.    
  67.     <!-- Facebook will use the following data to represent your site
  68.          when it is shared.
  69.          Facebook documentation (includes info on sharing more specific
  70.          media types): http://developers.facebook.com/docs/share -->
  71.     <meta property="og:title" content="" />
  72.     <meta property="og:description" content="" />
  73.     <meta property="og:image" content="" />
  74.  
  75.     <!-- Signal to search engines and others "Use this URL for this page!"
  76.          Useful when URLs are dynamically generated. -->
  77.     <link rel="canonical" href="" />
  78.    
  79.     <!-- Signal to the world "This is the shortURL for this page!"
  80.          Poorly supported at this time.
  81.        
  82.          http://microformats.org/wiki/rel-shortlink -->
  83.     <link rel="shortlink" href="" />
  84.  
  85.  
  86.     <!-- Sites with search functionality should be strongly considered for a
  87.          browser search plugin.
  88.        
  89.          How to make a browser search plugin:
  90.          http://www.google.com/search?ie=UTF-8&q=how+to+make+browser+search+plugin -->
  91.     <link rel="search" title="" type="application/opensearchdescription+xml" href="" />
  92.  
  93.     <!-- Direct search spiders to your sitemap.
  94.          Learn to make a sitemap here: http://www.sitemaps.org/protocol.php -->
  95.     <link rel="sitemap" type="application/xml" title="Sitemap" href="/sitemap.xml">
  96.  
  97.     <!-- Have an RSS feed? Link to it here.
  98.          Learn how to write your own: http://www.rssboard.org/rss-specification -->
  99.     <link rel="alternate" type="application/rss+xml" title="RSS" href="/rss.xml">
  100.    
  101.     <!-- Or maybe you have an Atom feed?
  102.          See what that's all about: http://www.atomenabled.org/developers/protocol/ -->
  103.     <link rel="alternate" type="application/atom+xml" title="Atom" href="/atom.xml">
  104.  
  105.     <!-- Your server may be notified when another site links to yours.
  106.          The href attribute should contain the location of your pingback service.
  107.          
  108.          * High-level explanation: http://codex.wordpress.org/Introduction_to_Blogging#Pingbacks
  109.          
  110.          * Step-by-step example case: http://www.hixie.ch/specs/pingback/pingback-1.0#TOC5
  111.          
  112.          * PHP pingback service:
  113.            http://blog.perplexedlabs.com/2009/07/15/xmlrpc-pingbacks-using-php/ -->
  114.     <link rel="pingback" href="">
  115.  
  116.   </head>