What are HTML Helpers in ASP.NET MVC?

What are HTML Helpers in ASP.NET MVC?



-In ASP.NET MVC, HTML Helpers are almost similar to ASP.NET web form controls which are used for modifying the HTML.

-HTML helper does not have an event model and a view state.

-HTML helpers are more lightweight than traditional ASP.NET web forms controls.

-In MVC, custom user defined HTML helpers can be created or we can use the built in HTML helpers.

- For example ListBox(), BeginForm(),TextBox(), EndForm(), , TextArea(),RadioButton() are built in HTML helpers.
Post your comment