1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| <form action="表单跳转地址"> <input id="radio1" value="hello" type="radio" name="radioGroupName" checked> <label for="radio1">单选按钮1</label> <input id="radio2" value="world" type="radio" name="radioGroupName"> <label for="radio2">单选按钮2</label> <p></p> <input id="checkbox1" value="ok" type="checkbox" name="checkboxGroupName" checked> <label for="checkbox1">复选按钮1</label> <input id="checkbox2" value="no" type="checkbox" name="checkboxGroupName"> <label for="checkbox2">复选按钮2</label> <input type="text" placeholder="输入框hint文字" required> <button type="submit">提交按钮</button> <input type="date" id="pickdate" name="date"> </form>
|