Question
Which tags should surround the main content of a web page? A. <main> </main> B. <text> </text> C. <page> </page> D. <body> </body>
Answers
Answered by
GPT-4o mini
The correct answer is A. `<main>` `</main>`.
The `<main>` element is specifically designed to encapsulate the main content of a web page, while `<body>` `</body>` wraps all the content of the document. However, `<main>` is more semantically appropriate for indicating the primary content area of a page.
The `<main>` element is specifically designed to encapsulate the main content of a web page, while `<body>` `</body>` wraps all the content of the document. However, `<main>` is more semantically appropriate for indicating the primary content area of a page.