News for hackers. Stuff that matters.
Re:Web Fonts Performance by stonogo on Sunday October 04, 2015 @09:48AM (#10327489)
Which browsers fail to render html if it's missing <html> and <body> tags?
Re:Web Fonts Performance by pdkl95 on Sunday October 04, 2015 @10:00AM (#10327517)
The existence of Quirks Mode is not an excuse to write sloppy markup.
Re:Web Fonts Performance by coldtea on Sunday October 04, 2015 @01:24PM (#10328100)
a) "The Google Style Guide for HTML recommends omitting all optional tags. That includes <html>, <head>, <body>, <p> and <li>" https://google.github.io/styleguide/htmlcssguide.xml#Optiona...

b) HTML5 spec: A body element's start tag may be omitted if the element is empty, or if the first thing inside the body element is not a space character or a comment, except if the first thing inside the body element is a meta, link, script, style, or template element.

Re:Web Fonts Performance by pdkl95 on Sunday October 04, 2015 @02:37PM (#10328351)
> Google Style Guide

Who cares what google thinks. They are not the w3c.

> HTML5 spec

It's not an HTML5 document.

https://validator.w3.org/check?uri=http%3A%2F%2Fandrewbelt.n...

Even if you want to ignore the required <!DOCTYPE html>, the document is still missing the required <head> with exactly one <title> element.

Re:Web Fonts Performance by coldtea on Sunday October 04, 2015 @04:34PM (#10328708)
>Who cares what google thinks.

90% of the web?

>They are not the w3c.

W3C? What's this 1999? It's all about the HTML5 group now.

Re:Web Fonts Performance by stonogo on Sunday October 04, 2015 @10:32AM (#10327613)
This is not an exercise in moral justification. I'm asking if there are any browsers that fail to render documents without <html> and <body> tags. Do you have an actual answer?