Y
Hacker News
new
|
ask
|
show
|
jobs
by
vpzom
2239 days ago
I think there are some differences in rendering if you omit the DOCTYPE
Also, why?
1 comments
sjwright
2239 days ago
Because your browser will enable a compatibility shim to improve rendering of web pages authored 15+ years ago. If you omit DOCTYPE, your HTML is assumed to be very old.
link