title: Apply a css style to a html helper
body: <p>I have an Asp.net application with razor view engine</p>
  
  <p>I'd like to apply a css style in <code>Html.ActionLink</code>. So I tried to change this :</p>
  
  <pre><code> &lt;a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"&gt;Espace propriétaire du terrain &lt;span class="caret"&gt;&lt;/span&gt;&lt;/a&gt;
  </code></pre>
  
  <p>To this </p>
  
  <pre><code> @Html.ActionLink("Espace propriétaire du terrain ", "About", "Home",null, new {  @style="class:dropdown-toggle;data-toggle:dropdown; role:button; aria-expanded:false" })
  </code></pre>
  
  <p>But the style isn't applied and I get this as a source html code</p>
  
  <pre><code>&lt;a href="/Home/About" style="class:dropdown-toggle;data-toggle:dropdown; role:button; aria-expanded:false"&gt;Espace propriétaire du terrain &lt;/a&gt;
  </code></pre>
  
  <p>So  I need to know :</p>
  
  <ol>
  <li>Why this happens?</li>
  <li>How can I fix my code?</li>
  </ol>