I have a view in ASP.NET MVC4 and it has the following code which starts an HTML form:
@using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl }))
Now i need to give this form an id="login" and a class="loginform". How do I specify such HTML parameters to the Html.BeginForm class?
Also: where can I find an API or documentation on all the HTML helper functions which explains all of the parameters and the details?