We use HTML helpers in a view to render HTML content. An HTML Helper is simply a method that returns a string. The string can represent any type of content that we want to
The ASP.NET MVC framework includes the following set of standard HTML Helpers (following is not a complete list):
It marks the start of a form and links to the action method that renders the form.
The following example shows markup for the BeginForm helper method.
<% Html.BeginForm() %>
<!-- Form content goes here -->
<% Html.EndForm() %>
Renders a check box.
The following example shows markup for the CheckBox helper method.
<%= Html.CheckBox("fileType") %>
Renders a radio button.It takes three parameters: the name of the control group, the option value, and a Boolean value that determines whether the radio button is selected initially. Following is sampe markup