代码:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>095-100</title>
</head>
<body>
<!-- radio-单选框,checkbox-复选框 -->
<center>
<h1>学院</h1>
<div>
<input type="radio" name="222" id="xx">
<label for="xx">信息</label>
</div>
<div>
<input type="radio" name="222" id="dx">
<label for="dx">电子</label>
</div>
<div>
<input type="radio" name="222" id="jd">
<label for="jd">机电</label>
</div>
<div>
<input type="radio" name="222" id="nv" checked>
<label for="nv">商院</label>
</div>
<div>
<input type="radio" name="222" id="wy">
<label for="wy">外语</label>
</div>
<div>
<input type="radio" name="222" id="cs">
<label for="cs">创设</label>
</div> <div>
<input type="radio" name="222" id="ty">
<label for="ty">体院</label>
</div>
<h1>性别</h1>
<div>
<input type="radio" name="111" id="nan">
<label for="nan">男</label>
</div>
<div>
<input type="radio" name="111" id="nv">
<label for="nv">女</label>
</div>
<hr>
<h1>满意程度</h1>
<div>
<input type="radio" name="333" id="my">
<label for="my">满意</label>
</div>
<div>
<input type="radio" name="333" id="bmy" disabled>
<label for="bmy">不满意</label>
</div>
<hr>
<div>
<form action="">
<input type="file" name="" id="">
</form>
</div>
<hr>
<select multiple>
<option value="a">a</option>
<option value="b">b</option>
<option value="c">c</option>
<option value="d">d</option>
<option value="e">e</option>
<option value="f">f</option>
<option value="g" selected>g</option>
</select>
<hr>
<h1>文本域</h1>
<textarea style="width: 800px; height: 300px; resize: none;" placeholder="请输入内容"></textarea>
<hr>
<fieldset>
<legend>缺口</legend>
<h1>性别</h1>
<div>
<input type="radio" name="111" id="nan">
<label for="nan">男</label>
</div>
<div>
<input type="radio" name="111" id="nv">
<label for="nv">女</label>
</div>
</fieldset>
</center>
</body>
</html>