runat="server" is an attribute set to asp.net controls to signalize the server that this should be accessible at server side, by being available as an object at pages code-behind.
runat="server"
is a attribute in ASP.NET controls, that indicates that the element should be treated as a server control. The Id
attribute is added to identify the server control. The Id
reference can be used to manipulate the server control at run time.