ASP.NET2.0 - Web服务器控件和Html服务器控件区别
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" attribute. You can also set the element's id attribute to give you way to programmatically reference the control. You then set attributes to declare property arguments and event bindings on server control instances.
http://msdn2.microsoft.com/en-us/library/620b4fzf.aspx
http://msdn2.microsoft.com/en-us/library/620b4fzf.aspx

浙公网安备 33010602011771号