in MVC Language by
Q:
What are HTML Helpers and why to use it?

1 Answer

0 votes
by

HtmlHelper class generates html elements using the model class object in razor view. It binds the model object to html elements to display value of model properties into html elements and also assigns the value of the html elements to the model properties while submitting web form. So always use HtmlHelper class in razor view instead of writing html tags manually.

Related questions

0 votes
asked Aug 18, 2019 in MVC Language by rahulsharma
0 votes
asked Aug 18, 2019 in MVC Language by rahulsharma
...