Created
July 23, 2020 07:11
-
-
Save JohnsonLuu/0390adcccfc6465f4f462f7b76c28906 to your computer and use it in GitHub Desktop.
Code Academy's Semantic HTML Review
This file contains 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> | |
<head> | |
<link rel="stylesheet" type="text/css" href="style.css"> | |
</head> | |
<body> | |
<header> | |
<h1>Navigational Links</h1> | |
<nav> | |
<ul> | |
<li><a href="#home">Home</a></li> | |
<li><a href="#posts">Posts</a></li> | |
<li><a href="#contact">Contact</a></li> | |
</ul> | |
</nav> | |
</header> | |
<main> | |
<section> | |
<article> | |
<h2>Facts About Dogs</h2> | |
<p> | |
Dogs have a sense of time. It's been proven that they know the difference between a hour and five. If conditioned to, they can predict future events, such as regular walk times. | |
</p> | |
</article> | |
<aside> | |
<p>A study was conducted on dogs being away from their owners for varying hours and the studies show that dogs who were away from their owners the longest showed the greatest amount of affection! | |
</p> | |
</aside> | |
</section> | |
<figure> | |
<img src="https://content.codecademy.com/courses/SemanticHTML/dogimage.jpeg"/> | |
<figcaption>A cute dog.</figcaption> | |
</figure> | |
<audio controls> | |
<source src="https://content.codecademy.com/courses/SemanticHTML/dogBarking.mp3" type="audio/mp3"> | |
</audio> | |
<video src="https://content.codecademy.com/courses/SemanticHTML/dog-video.mp4" controls> | |
</video> | |
<embed src="https://content.codecademy.com/courses/SemanticHTML/dog-on-beach.gif"/> | |
</main> | |
<footer> | |
<p>Contact me at +1 234 567 8910 </p> | |
</footer> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment