This documentation is archived and is not being maintained.

HTML Horizontal Rule Control

One control based on the HTML HR element is available on the HTML tab of the Toolbox as the Horizontal Rule 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.

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