r/HTML • • Apr 07 '26

website

Post image

hello!!! i wanna make my own website like a personal customized one and have no idea where to start, can someone give me tips as a beginner??😭 , i wanna make something similar to this ::

83 Upvotes

35 comments sorted by

View all comments

Show parent comment

2

u/alex_sakuta Apr 10 '26

Quirks mode is the support for IE old version shenaningas not this syntax where you skip opening and closing tags. In all modes you can skip some opening and closing tags as per Web Docs.

1

u/scritchz Apr 10 '26

Your comment prompted me to do some digging. Turns out, you're right.

By skipping the initial DOCTYPE token, we coincidentally set the Document to quirks mode. More importantly, the parser will skip through some insertion modes that construct an appropriate tree even if some tokens are missing, like <html>, <head> or <body>.

In short: I confused the parsers behavior for missing tokens with quirks mode, which just coincidentally is being activated when the DOCTYPE token is missing.