Which CMS leaves out the HTML element? I've been seeing a LOT of div span div "structure" w HTML5 DOCTYPE <head> <title> & no <html> - WTF?

Aug 25, 2012 · 2:41 AM UTC

8
Replying to @mholzschlag
@mollydotcom I think CMS stands for Compact Muon Solenoid, if that helps ;-) (One of the detectors at the LHC)
1
“Knock knock?” / “Who's there.” / “Interrupting physicist.” /“Interrupting physicist who?“/ “Muon!" + @timtfj
1
1
Replying to @mholzschlag
@mollydotcom So... If you declare the HTML 5 doctype the page will render without the HTML tags?
1
@ThinkWTD Yes, the page will render - HTML element is generally not required in HTML. In XHTML, yes.
1
Replying to @mholzschlag
@mollydotcom maybe it thinks it's doing HTML email.
1
@michaelasmith Good point. One question: what or who is "it"?
1
Replying to @mholzschlag
@mollydotcom the Google HTML style guide (ironically written in XML) has an optional rule to leave out optional tags google-styleguide.googlecode…
1
Replying to @mholzschlag
@mollydotcom TurdPress in bad hands.
Replying to @mholzschlag
@mollydotcom: that is whack! Can you send me an example you know of? I would like to try and track down the CMS that does that. Curious.
Replying to @mholzschlag
@mollydotcom #Drupal has it! Often in conditional classes: <!--[if IEMobile 7]><html class="iem7" lang="en" dir="ltr"><![endif]-->
1
2