System.Web.WebPages.Html Namespace

The System.Web.WebPages.Html namespace contains classes that are used to render HTML form elements and to perform validation on user input that is entered in HTML forms.

Public classHtmlHelperProvides support for rendering HTML form controls and performing form validation in a web page.
Public classModelStateEncapsulates the state of model binding to a property of an action-method argument, or to the argument itself.
Public classModelStateDictionaryRepresents the result of binding a posted form to an action method, which includes information such as validation status and validation error messages.
Public classSelectListItemRepresents an item in an HTML select list.