Introduction to HTML5 main Element


 Introduction to HTML 5  main element.

  • HTML 5 includes some more descriptive HTML tags.
  • These include main, header, footer, nav, video, article, section, and others.
  • These tags give a descriptive structure to your HTML and make your HTML easier to read and understand and help with Search Engine Optimization (SEO).
  • The main HTML5 tag helps search engines and other developers find the main content of your page.
  • Example usage of a main method with two child elements nested inside it:

      • <main>
          • <h1>Heading</p>
          • <p>Paragraph</p>
      • </main>

The remaining HTML5 tags will be discussed in upcoming blogs stay tuned.

No comments:

Post a Comment