jplatte / turbo.fish

::<> ⠀ https://turbo.fish/ ⠀ <>::
GNU Affero General Public License v3.0
631 stars 8 forks source link

Correct template html structure #9

Closed tayler-king closed 6 years ago

tayler-king commented 6 years ago

Nothing major, just fixes up the template structure so that it's "valid" (ignoring the templating language) syntax.

jplatte commented 6 years ago

The HTML code is deliberately not 100% correct, but not due to these tags missing (see for example the w3 validator's results for turbo.fish). They are allowed to be omitted, as documented on MDN and elsewhere (look for "Tag omission"):

Also see Stack Overflow: Is it necessary to write HEAD, BODY and HTML tags?

tayler-king commented 6 years ago

Ah that's interesting. Thanks.