runat="server" attribute is necessary for HTML control - ASP.NET HTML and Web Server Control

Q.  Which attribute is necessary for HTML control to work as a HTML server control?
- Published on 24 Jul 15

a. runat=”server”
b. runat=”web-server”
c. ID=”server”
d. ID=”web-server”

ANSWER: runat=”server”
 

    Discussion

  • Raj   -Posted on 21 Oct 15
    The HTML server controls are HTML elements that include a runat=”server” attribute. HTML server controls provide automatic state management and server-side events. The runat=”server” attribute is necessary for HTML control to work as a HTML server control.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)