Link Search Menu Expand Document

Introduction to HTML5 Elements

Summary

  • HTML5 uses HTML tags such as main, header, footer, nav, video, article, section, and others.
  • Tags give a descriptive structure to HTML code, help make the code easier to read, and helps Search Engine Optimization (SEO) as well as accessibility.
  • The main HTML5 tag helps search engines and developers find the main content of your page.
    • Most of your code will be inside the main tag.

Final Code

<h2>CatPhotoApp</h2>
<main>
  <p>Kitty ipsum dolor sit amet, shed everywhere...</p>
  <p>Purr jump eat the grass rip the couch scratched sunbathe...</p>
</main>