culTest

    One of the 25 questions in this topic

    How much do you know about Semantic Architecture and Hierarchy?

    What is the main function of the <main> tag?

    Answers

    To wrap all visible content in the page body.
    To identify the central and unique content of the document, excluding sidebars and navigation.Correct
    To serve as a container for the main navigation menu.
    It is a modern alternative to the <body> tag.

    <main> should contain the unique content of the page, and there should not be more than one visible main element per document.