HTML helpers in ASP.NET MVC
| HTML helper | Description |
| DisplayFor | Returns HTML markup for each property in the object that’s represented |
| DisplayTextFor | Returns HTML markup for each property in the object that’s represented |
| EditorFor | Returns an HTML input element for each property in the object that’s |
| CheckBoxFor | Returns a check box input element for each property in the object that’s |
| DropDownListFor | Returns an HTML select element for each property in the object that’s |
| HiddenFor | Returns an HTML hidden input element for each property in the object |
| LabelFor | Returns an HTML label element and the property name of the property |
| ListBoxFor | Returns an HTML select element for each property in the object that’s |
| PasswordFor | Returns a password input element for each property in the object that’s |
| RadioButtonFor | Returns a radio button input element for each property in the object |
| TextAreaFor | Returns an HTML text area element for each property in the object |
| TextBoxFor | Returns a text input element for each property in the object that’s represented |
| ValidateFor | Retrieves the validation metadata and validates each data field that’s |
| ValidationMessageFor | Returns the HTML markup for a validation-error message for each data |

浙公网安备 33010602011771号