ncase / trust

An interactive guide to the game theory of cooperation
Creative Commons Zero v1.0 Universal
5.76k stars 917 forks source link

<!doctype html> is right and not <!doctype> #75

Open agnelvishal opened 6 years ago

agnelvishal commented 6 years ago

As per html validator at https://validator.w3.org/check?uri=ncase.me%2Ftrust&charset=%28detect+automatically%29&doctype=Inline&group=0 "html" needs to be mentioned in doctype. But adding <!doctype html> seems to cause css rendering issues.

L1Q commented 1 year ago

Omitting the html from the DOCTYPE forces the browser into so-called "quirks mode". The current implementation relies on some quirks, namely "unitless length quirk" values. This could be a mistake.

Quirks Mode on MDN Quirk examples