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

▼ Show 1 Answer

0 votes

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.

Learn More with Madanswer

Related questions

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