Altering ASP.Net HTML Helpers Attributes

I had a hard time find information on how to modify basic attributes like cols, rows, width, or anything else you might want.

Here is the syntax to alter many attributes …

<%= Html.TextArea("Example",null,
new {@width = "650",@cols="100",@rows="50"}) %>

This code will generate the follow HTML markup…

cols="100" id="Example" name="Example" rows="50" width="650">

You can add anything you might need as far as HTML attributes go in this manner.