title: How do I apply a CSS class to Html.ActionLink in ASP.NET MVC?
body: <p>I'm building an <em>ASP.NET MVC</em> application, using <em>VB.NET</em> and I'm trying to apply a css class to a <code>Html.ActionLink</code> using the code:</p>
  
  <pre><code>&lt;%=Html.ActionLink("Home", "Index", "Home", new {@class = "tab" })%&gt;
  </code></pre>
  
  <p>But when I run the code I receive the below error:</p>
  
  <blockquote>
    <p>Compiler Error Message: BC30988: Type or 'With' expected.</p>
  </blockquote>
  
  <p>I'm new to <em>MVC</em> and really haven't much of a clue what I'm doing so I can't see what's wrong there as I'm using code based of an example elsewhere.</p>