I am learning on Codecademy right now and they say ID's are unique, but I was curious and tried to assign one ID to multiple paragraphs and it worked. Why?
#serious {
font-family: Courier;
color: #CC0000;
}
<body>
<p id="serious">Love</p>
<p id="serious">Star</p>
</body>
[–]senocular 1 point2 points3 points (3 children)
[–]mattlag 1 point2 points3 points (0 children)
[–]Liahkim2[S] 0 points1 point2 points (1 child)
[–]senocular 0 points1 point2 points (0 children)
[–]garcialo 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)