问答详情
源自:6-8 使用label为input标签穿上衣服

怎么调整成正方形框框

<html lang="en">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta http-equiv="X-UA-Compatible" content="ie=edge">

<title>Document</title>

</head>

<body>

<form>

<label for="wocao">慢跑</label>

<input type="radio" name="gender" id="wocao">

<br/>

<label for="ganma">登山</label>

<input type="radio" name="gender" id="ganma">

<br/>

<label for="zheyang">篮球</label>

<input type="radio" name="gender" id="zheyang">    

</form>    

</body>

</html>


提问者:qq_一直都很天真_czDK28 2018-11-02 10:03

个回答

  • 慕后端3109601
    2018-11-02 10:57:19
    已采纳

    radio改成checkbox 多选的是正方形框框