title: Is <a href="example.com/page.php#page" rel="noindex, nofollow"> correct?
body: <p>In my site I have the page <a href="http://www.example.com/page.php" rel="noreferrer">http://www.example.com/page.php</a> , however, I have links leading to <a href="http://www.example.com/page.php#page" rel="noreferrer">http://www.example.com/page.php#page</a> so I want them not to be indexed or followed. Will it be correct to mark these links as </p>
  
  <pre><code>&lt;a href="http://www.example.com/page.php#page" rel="noindex, nofollow"&gt; 
  </code></pre>
  
  <p>Also, as a canonical meta tag on the same page I already have </p>
  
  <pre><code>&lt;link rel="canonical" href="http://www.example.com/page.php" /&gt; 
  </code></pre>
  
  <p>Thank you!!!</p>
  
  <p>P.S: I ask if this syntax is right, not how Google works and what is its politic towards urls</p>