Please visit our sponsors !
HTML Server Controls
HTML server controls are HTML tags understood by the server.
HTML Server Controls
HTML elements in ASP.NET files are, by default, treated as text. To make
these elements programmable, add a runat="server" attribute to the
HTML element. This
attribute indicates that the element should be treated as a server
control.
Note: All HTML server controls must be within a <form> tag with the
runat="server" attribute!
Note: ASP.NET requires that all HTML elements must be properly closed
and properly nested.
HTML Server Control |
Description |
HtmlAnchor |
Controls an <a> HTML element |
HtmlButton |
Controls a <button> HTML element |
HtmlForm |
Controls a <form> HTML element |
HtmlGeneric |
Controls other HTML element not specified by a specific
HTML server control, like <body>, <div>, <span>, etc. |
HtmlImage |
Controls an <image> HTML element |
HtmlInputButton |
Controls <input type="button">, <input
type="submit">, and <input type="reset"> HTML elements |
HtmlInputCheckBox |
Controls an <input type="checkbox"> HTML element |
HtmlInputFile |
Controls an <input type="file"> HTML element |
HtmlInputHidden |
Controls an <input type="hidden"> HTML element |
HtmlInputImage |
Controls an <input type="image"> HTML element |
HtmlInputRadioButton |
Controls an <input type="radio"> HTML element |
HtmlInputText |
Controls <input type="text"> and <input
type="password"> HTML elements |
HtmlSelect |
Controls a <select> HTML element |
HtmlTable |
Controls a <table> HTML element |
HtmlTableCell |
Controls <td>and <th> HTML elements |
HtmlTableRow |
Controls a <tr> HTML element |
HtmlTextArea |
Controls a <textarea> HTML element |
Jump to: Top of Page
or HOME or
Printer friendly page
Search W3Schools:
What Others Say About Us
Does the world know about us? Check out these places:
Dogpile
Alta Vista
MSN
Google
Excite
Lycos
Yahoo
Ask Jeeves
We Help You For Free. You Can Help Us!
W3Schools is for training only. We do not warrant its correctness or its fitness for use.
The risk of using it remains entirely with the user. While using this site, you agree to have read and accepted our
terms of use and
privacy policy.
Copyright 1999-2002 by Refsnes Data. All Rights Reserved
|