What are Html helpers?

Total Post:123


 575  View(s)
Rate this:
  1. What are Html helpers?

    Mvc HTML helpers are the methods which returns HTML strings.There are few inbuilt HTML helpers which we can use.we can also create our custom HTML helpers.They are similar to the webforms controls as both the webforms controls and the MVC HTML helpers returns HTML.

    Mvc HTML helpers are lightweight compared to the webforms controls.

    these are some of the commonly used HTML helper methods for rendering the HTML form elements

    • BeginForm()
    • EndForm()
    • TextArea()
    • TextBox()
    • CheckBox()
    • RadioButton()
    • DropDownList()
    • Hidden()
    • Password()