3. Selectors
• Type Selectors
HTML
• <p>...</p>
CSS
• p { ... }
• Class selectors
HTML
• <div class="awesome">...</div>
CSS
• .awesome { ... }
• ID Selectors
HTML
• <div id="shayhowe">...</div>
CSS
• #shayhowe { ... }
4. Elements & Semantics
•
•
•
•
•
•
•
•
Headings
<h1>This is a Level 1 Heading</h1>
<h2>This is a Level 2 Heading</h2>
<h3>This is a Level 3 Heading</h3>
Headings Demo
This is a Level 1 Heading
This is a Level 2 Heading
This is a Level 3 Heading
5. • Paragraphs
• <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Ut enim ad minim veniam, quis nostrud exercitation
ullamco.</p>
• Paragraphs Demo
• Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ut
enim ad minim veniam, quis nostrud exercitation ullamco.
6. • Hyperlinks
• <a href="http://shayhowe.com">Shay</a>
• Hyperlinks Demo
• Shay
Email Link
<a
href="mailto:shay@awesome.com?subject=Still%20Awesome&b
ody=This%20is%20awesome">Email Me</a>
• Email Link Demo
• Email Me