<h1>学习科目</h1>
<h2>姓名</h2>
<p>学号<p>
<footer class="p2">
<div class="p1">
<p>生物</p>
<p>语文</p>
<p>数学</p>
</div>
<p>英语</p>
<p>物理</p >
</footer>
h1 {color: red}
h2,p {color: green;}
.p1 p {font-size: 50px;}
.p1 p,h2 {background-color: blue;}
div p {color: yellow;}
footer>p {color: pink;font-size: 30px;}
div+p {background-color: green;}
div~p {
font-size: 30px;
}
p:first-child {background-color: red;}
h1:first-letter {font-size: 40px;}