Community

How to add HTML Server Controls to a Web Page Using ASP.NET

(Nikhil Singhal) By default, HTML elements within an ASP.NET file are treated as literal text and you cannot reference them in server-side code. To make these elements programmatically accessible, you can indicate that an HTML element should be treated as a server control by adding the runat=”server

Read More - Register for Free Membership