Y
Hacker News
new
|
ask
|
show
|
jobs
by
skobes
154 days ago
Omitting <body> can lead to weird surprises. I once had some JavaScript mysteriously breaking because document.body was null during inline execution.
Since then I always write <body> explicitly even though it is optional.