Next.js · Junior · Question 5 of 75
What must the root app/layout.tsx contain?
- ✓Correct answer: The
<html>and<body>tags - 2The
<Head>component fromnext/head - 3A
<NextProvider>aroundchildren
Explanation
The root layout replaces _app and _document from the Pages Router and must render <html> and <body> itself. Metadata is set via the metadata or generateMetadata export, not next/head. Next.js has no mandatory provider.