Form field set
< Fieldset Disabled = "Disabled" > < Legend > </ Legend > <-! A form field can only put a Legend -> < form Action = "" > </ form > </ fieldset >
Message label
two kinds of usage:
use a:
<label for="username">用户名:</label><input type="text" id="username"/>
Usage of Two:
< Label > Username: < the INPUT of the type = "text" /> </ label > <-! Care not to add to the label for Properties ->
Image field (Firefox version does not support low)
<input type="image" src="图片地址" alt="" title=""/>
Upload a text box
default can not be selected, only select individual files
<input type="file" mutiple="mutiple"/>
Note: When using div make button icons, transparent property of the input buttons available. (Use display: none; or visibility: hidden; button will not be used)
Text Box
After <input type = "text" />, the use of the name attribute of the input frame memory function ranking, added in form autocomplete attribute may be off (closed), on (open)
Add required = "required" attribute in the input, the box is required.
Table
in the table can have only one <thead>, <tfoot>, there may be multiple tbody
No content empty-cells: show (the default display) / hidden
when defining a cell no content, whether or not the frame region of the cell
< Table the rules = "All" > </ Table > <-! The rules attribute values of all / none (default value) / cols / rows ->
Definition table layout Table-layout
Table-layout: Auto / Fixed;
layout algorithm defined in the table
as not set the width of the table cells evenly
setting Fixed, text letters and no spaces, the content exceeds the cell width and cell width not variable; evenly;
set auto, the content with a given width, there is some incompatibility Firefox.
The title of the table <caption>
In the table style sheet, Caption-Side: Top / bottom;
left and right only Firefox support, top, bottom IE7 or later support.
Table column grouping
<colgroup span="2"></colgroup> <col span="3"/>