Advertisement
makispaiktis

Codecademy - 5th Course - Example

Aug 28th, 2019 (edited)
377
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.67 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.   <head>
  4.     <link rel="stylesheet" type="text/css" href="style.css">
  5.   </head>
  6.   <body>
  7.     <header>
  8.       <h1>Navigational Links</h1>
  9.       <nav>
  10.         <ul>
  11.           <li><a href="#home">Home</a></li>
  12.           <li><a href="#posts">Posts</a></li>
  13.           <li><a href="#contact">Contact</a></li>
  14.         </ul>
  15.       </nav>
  16.     </header>
  17.    
  18.     <main>
  19.       <section>
  20.         <article>
  21.           <h2>Facts About Dogs</h2>
  22.           <p>
  23.           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.
  24.           </p>
  25.         </article>
  26.         <aside>
  27.           <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!
  28.           </p>
  29.         </aside>
  30.       </section>
  31.       <figure>
  32.         <img src="https://codecademy-content.s3.amazonaws.com/courses/Semantic+HTML/dogimage.jpeg"/>
  33.         <figcaption>A cute dog.</figcaption>
  34.       </figure>  
  35.       <audio controls>
  36.         <source src="https://codecademy-content.s3.amazonaws.com/courses/Semantic+HTML/dogBarking.mp3" type="audio/mp3">
  37.       </audio>
  38.       <video src="https://codecademy-content.s3.amazonaws.com/courses/Semantic+HTML/dog+video.mp4" controls>
  39.       </video>
  40.       <embed src="https://codecademy-content.s3.amazonaws.com/courses/Semantic+HTML/dog-on-beach.gif"/>
  41.          
  42.     </main>
  43.    
  44.     <footer>
  45.       <p>Contact me at +1 234 567 8910 </p>
  46.     </footer>
  47.              
  48.   </body>
  49. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement