Question · Next.js course · Module 3: Styling and Visual Optimization
Metadata and Favicon in Next.js
How do you define page metadata such as title and description in Next.js 16 (App Router)?
Answer options
- By configuring metadata exclusively in next.config.js
- By installing the external next-seo plugin and configuring it globally
- By manually adding <meta> tags in the Head component from next/head
- By exporting a metadata object or generateMetadata function from page.tsx/layout.tsx
You can check the correct answer by solving this task in the CodeWorlds game.