Correcting teacher:PHPz
Correction status:unqualified
Teacher's comments:代码放入代码块中
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>复选框</title>
<style>
input[type=”checkbox”]{
display: none;
}
input[type=”checkbox”]:checked ~ ul {
display: none;
}
</style>
</head>
<body>
<label for="menu">菜单</label>
<input type="checkbox" id="menu">
<ul>
<p>helolodldddf</p>
<p>helolodldddf</p>
<p>helolodldddf</p>
<p>helolodldddf</p>
<p>helolodldddf</p>
</ul>
</body>
</html>