DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Next.js Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
Next.js
Why must global-error.tsx define its own <html> and <body> tags?
A
It's a stylistic convention only
B
It replaces the ENTIRE root layout when active, since it's the only boundary that can catch errors in the root layout itself
C
All error.tsx files require html/body tags
D
This is only true in development mode
Check Answer