title: Include anchor tag in ASP.NET MVC 5 ActionLink
body: <p>I have searched the web for an answer and tried Brad Wilson's suggested solution here:
  <a href="https://stackoverflow.com/questions/274586/including-an-anchor-tag-in-an-asp-net-mvc-html-actionlink">Including an anchor tag in an ASP.NET MVC Html.ActionLink</a></p>
  
  <p>However, this does not work for me.</p>
  
  <p>Here's what I did:</p>
  
  <p>In Controller/Details/_PartialView file I place an anchor tag:</p>
  
  <pre><code>&lt;a name="anchor-point"&gt;&lt;/a&gt;
  </code></pre>
  
  <p>The _PartialView file is obviously rendered when Controller/Details is rendered.</p>
  
  <p>In Controller/Index I have an ActionLink as follows</p>
  
  <pre><code>&lt;td&gt;@Html.ActionLink("linkText", "Details", "Controller", null, null, "anchor-point", new { item =&gt; item.ID }, null)&lt;/td&gt;
  </code></pre>
  
  <p>When I inspect the rendered HTML in Chrome the above link is not what I would, which is: </p>
  
  <pre><code>../Controller/Details/id#anchor-point
  </code></pre>
  
  <p>Have I misunderstood something or has usage changed since the original post. I am using MVC 5 ASP.NET 4.5.</p>
  
  <p>Regards
  Craig</p>