MVC Developer Question:

Tell me what are HTML helpers in MVC?

Tweet Share WhatsApp

Answer:

HTML helpers help you to render HTML controls in the view. For instance if you want to display a HTML textbox on the view , below is the HTML helper code.
<%= Html.TextBox("FirstName") %>

For checkbox below is the HTML helper code. In this way we have HTML helper methods for every HTML control that exists.
<%= Html.CheckBox("Yes") %>

Download MVC Developer PDF Read All 50 MVC Developer Questions
Previous QuestionNext Question
Tell us what is Bundling and Minification in MVC?Tell us what are Action Filters in MVC?