2012-11-17 25 views

回答

1

如果您的主要興趣是能夠通過哈希標籤搜索您的帖子,您可以將哈希標籤添加到代碼段描述。哈希標籤將不會與其他文本呈現不同,但不會被點擊。

<html itemscope itemtype="http://schema.org/Organization"> 
    <head> 
    <meta itemprop="name" content="Example"> 
    <meta itemprop="description" content=" 
     An #example of how to add #hashtags to the snippet description."> 
    <meta itemprop="image" 
     content="https://www.google.com/images/srpr/logo3w.png"> 
    </head> 
    <body> 
    <div class="g-plus" data-action="share"></div> 
    <script type="text/javascript"> 
     (function() { 
     var po = document.createElement('script'); 
     po.type = 'text/javascript'; po.async = true; 
     po.src = 'https://apis.google.com/js/plusone.js'; 
     var s = document.getElementsByTagName('script')[0]; 
     s.parentNode.insertBefore(po, s); 
     })(); 
    </script> 
    </body> 
</html>