Put in order · Next.js course · Module 2: Routing and Layouts
Root Layout with html and body
Arrange the root layout syntax with html and body tags
Items to put in order
- <body>{children}</body>
- <html>
- </html> )
- return (
Show the answer
Correct order:
- return (
- <html>
- <body>{children}</body>
- </html> )