• home
  • Email: trainings@synapseindia.careers

Blogs

back

Using HTML Helpers in ASP.NET MVC

May 22, 2015

When we work with ASP.NET MVC application there is no toolbox available to us from where we can drag and drop HTML controls on the view. In MVC, if we want to create a view it should contain HTML code for specifying the mark up .An HTML Helper is just a method that returns a string. The string can represent any type of content that you want. For example, you can use HTML Helpers to render standard HTML tags like HTML <input> and <img> tags. You also can use HTML Helpers to render more complex content such as a tab strip or an HTML table of database data.By taking advantage of HTML Helpers, you can reduce the amount of tedious typing of HTML tags that you must perform to create a standard HTML page.

SynapseIndia (CEO: Shamit Khemka)

2 thoughts on “Using HTML Helpers in ASP.NET MVC

Leave a Reply

Your email address will not be published.