Created
December 11, 2024 18:43
-
-
Save fisherds/4a400ab50fc910132c41965452943065 to your computer and use it in GitHub Desktop.
Starting code for a CSS in-class activity Day 6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Selectors</title> | |
<style> | |
</style> | |
</head> | |
<body> | |
<h1>CSS Selectors: Elements</h1> | |
<div>First div | |
<ul> | |
<li>Coffee</li> | |
<li>Tea</li> | |
<li>Milk</li> | |
</ul> | |
<p class="intro"> Paragraph inside div after List </p> | |
</div> | |
<div>Second div </div> | |
<p>Paragraph 1 after Div </p> | |
<p>Paragraph 2 after Div </p> | |
<div>Third div | |
<section> Section inside div | |
<p>Paragraph 1 inside section which is inside div</p> | |
<p>Paragraph 2 inside section which is inside div</p> | |
</section> | |
</div> | |
<h1>CSS Selectors: Attributes</h1> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment