This documentation is archived and is not being maintained.

HTML Text Area Control

One control based on the HTML TEXTAREA element is available on the HTML tab of the Toolbox as the Text Area control.

For a complete list of elements, see HTML Elements.

HTML controls added to an HTML page in Visual Studio are simply HTML elements with certain attributes already set.

Security Note   User input in a Web Forms page can include potentially malicious client script. By default, the Web Forms page validates that user input does not include script or HTML elements. For more information, see Scripting Exploits and Protecting Against Script Exploits in a Web Application.

The same is true for HTML controls added to a Web Forms (.aspx) page. By default, HTML elements on a Web Forms page are not available to the server; they are treated as opaque text that is passed through to the browser. However, by converting HTML elements to HTML server controls, you expose them as elements you can program in server-based code. For an overview of how HTML elements can be exposed to the server so that you can program them, see Introduction to ASP.NET Server Controls. For a list of these controls see HTML Server Controls.

See Also

Adding HTML Server Controls to a Web Forms Page | HTML Designer | Navigating in the Document Outline Window | HTML Elements