巧妙的应用Label,设置焦点
Examples of form inputs marked up with the <label> tag
Form element looks like | Coded like: |
---|---|
<label for="txtFirstName"> First Name:</label><br /> | |
Age: | Age:<br /> |
What colours do you like: | What colours do you like:<br /> |
<label for="txtLifeStory"> Your life story:</label><br /> | |
<label for="ddlTown"> Favourite Town:</label><br /> |