1, label tag,
label tag for tag label attributes associated with the input tag
<body> <label for = " username " > Username: </ label> <the INPUT the above mentioned id = " username " of the type = " text " name = " the User " /> <- label use for properties username will label! associated with the input, to click on the file, such that the associated label acquisition cursor; user clicks name like, can be entered in the text -> </ body>
Execution results are as follows:
When users click on the name of the sample, you can enter in the text
2, filedest label, look like this
<body> <fieldset> <legend>登录信息</legend> <label for="pwd">密码:</label> <input id="pwd" type="text" name="user"/> </fieldset> </body>
Execution results are as follows:
3. Summary:
Tags need to know:
- h系列 - div - span - input系列 + form标签 input type='text' input type='password' input type='submit' input type='button' input type='radio' input type='checkbox' input type='file' type INPUT = ' REST ' <TextArea> Default </ TextArea> SELECT Label - A label - Image: IMG - table: table