Defines the methods, properties, and events for all HTML server control elements not represented by a specific .NET Framework class.
See Also: HtmlGenericControl Members
Use this class to represent an HTML server control element not directly represented by a .NET Framework class, such as <span>, <div>, <body>, or <font>.
This control can be used to display user input, which might include malicious client script. Check any information that is sent from a client for executable script, SQL statements, or other code before displaying it in your application. ASP.NET provides an input request validation feature to block script and HTML in user input. Validation server controls are also provided to assess user input. For more information, see Validation Server Controls and Introduction to Validating User Input in ASP.NET Web Pages.