Ing of HTML control runat = server in Asp.net
1. Standard XHTML labels: http://blog.csdn.net/TangZhongxin/archive/2009/07/31/4398487.aspx
2. Most tags are mapped to"System. Web. UI. htmlcontrols. htmlgenericcontrol", Their common feature is" Information read-only, only for display tags ":
Div, span, P, H1, H2, H3, H4, H5, H6, UL, Li, DL, DT, DD,
Abbr, acronym, address, BDO, BLOCKQUOTE, pre, BR, Q, INS, Del, sub, sup, HR, MAP, area,
Optgroup, label, fieldset, legent,
Em, strong, dfn, code, SAMP, KBD, VAR, cite,
TT, I, B, big, small,
Colgroup, Col, caption, thead, tbody, tfoot,
Param,
Title, base, Link, Meta, style,
3. Links, images, and object labels
Tag A, mapped to system. Web. UI. htmlcontrols. htmlanchor;
Tag IMG, mapped to system. Web. UI. htmlcontrols. htmlimage;
Tag object, which cannot be mapped;
Tag Param, mapped to system. Web. UI. htmlcontrols. htmlgenericcontrol;
4. Form class labels:
|
|
Form |
System. Web. UI. htmlcontrols. htmlform |
Input type = "text" |
System. Web. UI. htmlcontrols. htmlinputtext |
Input type = "button" |
System. Web. UI. htmlcontrols. htmlinputbutton |
Input type = "checkbox" |
System. Web. UI. htmlcontrols. htmlinputcheckbox |
Input type = "file" |
System. Web. UI. htmlcontrols. htmlinputfile |
Input type = "hidden" |
System. Web. UI. htmlcontrols. htmlinputhidden |
Input type = "image" |
System. Web. UI. htmlcontrols. htmlinputimage |
Input type = "password" |
System. Web. UI. htmlcontrols. htmlinputpassword |
Input type = "radio" |
System. Web. UI. htmlcontrols. htmlinputradiobutton |
Input type = "reset" |
System. Web. UI. htmlcontrols. htmlinputreset |
Input type = "Submit" |
System. Web. UI. htmlcontrols. htmlinputsubmit |
Textarea |
System. Web. UI. htmlcontrols. htmltextarea |
Select |
System. Web. UI. htmlcontrols. htmlselect |
Option |
System. Web. UI. webcontrols. listitem |
Optgroup |
System. Web. UI. htmlcontrols. htmlgenericcontrol |
Button |
System. Web. UI. htmlcontrols. htmlbutton |
Label |
System. Web. UI. htmlcontrols. htmlgenericcontrol |
Fieldset |
System. Web. UI. htmlcontrols. htmlgenericcontrol |
Legent |
System. Web. UI. htmlcontrols. htmlgenericcontrol |
5. Table class labels:
|
|
Table |
System. Web. UI. htmlcontrols. htmltable |
Tr |
System. Web. UI. htmlcontrols. htmltablerow |
TD, th |
System. Web. UI. htmlcontrols. htmltablecell |
Colgroup, Col Caption Thead, tbody, tfoot |
System. Web. UI. htmlcontrols. htmlgenericcontrol |
6. Special:
A Property of head, system. Web. UI. Page
Title, base, Link, Meta, style,
7. Relationship Diagram