HTML Server Controls in ASP.NET With Examples
HTML Server Controls in ASP.NET
In ASP.NET, we may convert an HTML element to an HTML server control by adding an attribute runat=”server”. This notifies the ASP Engine to create an instance of the control during parsing. We need to specify an ID of the element so that we can manipulate it pro-grammatically on the server side. These controls are particularly useful for migrating ASP applications to ASP.NET applications.