HTML server control

Ang HTML server control ay ang mga HTML tag na maiintindihan ng server.

HTML server control

Ang HTML element sa ASP.NET file ay naglalaro bilang teksto ng default. Upang ma-programize ang mga element na ito, kailangang magdagdag ng runat="server" attribute sa HTML element. Ang attribute na ito ay nagsasabi na ang element na ito ay dapat na itratu bilang server control.

Komentaryo:Ang lahat ng HTML server control ay dapat na nasa loob ng <form> tag na may runat="server" attribute!

Komentaryo:ASP.NET ay nangangailangan na ang lahat ng HTML element ay ma-correcto na isara at in嵌套.

HTML server control Description
HtmlAnchor Control ang <a> HTML element
HtmlButton Control ang <button> HTML element
HtmlForm Control ang <form> HTML element
HtmlGeneric Control ang iba pang HTML element na hindi tinukoy ng partikular na HTML server control, tulad ng <div>.
HtmlImage Control ang <image> HTML element
HtmlInputButton Control ang <input type="button">, <input type="submit"> at <input type="reset">
HtmlInputCheckBox Control ang <input type="checkbox"> HTML element
HtmlInputFile Control ang <input type="file"> HTML element
HtmlInputHidden Control ang <input type="hidden"> HTML element
HtmlInputImage ควบคุม HTML อิเล็กทรอนิกส์ <input type="image">
HtmlInputRadioButton ควบคุม HTML อิเล็กทรอนิกส์ <input type="radio">
HtmlInputText ควบคุม HTML อิเล็กทรอนิกส์ <input type="text"> และ <input type="password">
HtmlSelect ควบคุม HTML อิเล็กทรอนิกส์ <select>
HtmlTable ควบคุม HTML อิเล็กทรอนิกส์ <table>
HtmlTableCell ควบคุม HTML อิเล็กทรอนิกส์ <td> และ <th>
HtmlTableRow ควบคุม HTML อิเล็กทรอนิกส์ <tr>
HtmlTextArea ควบคุม HTML อิเล็กทรอนิกส์ <textarea>