简单教程
提交运行
代码编辑器:
<!DOCTYPE html> <meta charset="utf-8"> <form action="/dy/html/getpost" method="get"> <input type="checkbox" name="vehicle[]" value="Bike"> I have a bike<br> <input type="checkbox" name="vehicle[]" value="Car" checked="checked"> I have a car<br> <input type="submit" value="提交"> </form>
运行结果: