What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 150 Stack Exchange communities.

I noticed we're using the following doctype:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

Which leads to validation errors due to our placeholder and autocomplete attributes. Why aren't we using the HTML 5 doctype below?


This doctype activates standards modes in old browsers but is valid for the HTML5 markup the SE sites are in fact using right now.

share|improve this question
News flash: tag soup is and will always be tag soup. – BoltClock's a Unicorn Dec 11 '11 at 4:39

1 Answer 1

up vote 7 down vote accepted

I don't know when we changed this, but View Source and you'll plainly see we now have

<!DOCTYPE html>

On all SE 2.0 sites.

share|improve this answer
Good, now you don't have to drive to Jeff's house and beat him to death with a giant 5! – The Unhandled Exception Feb 2 '12 at 22:35
I always love re-reading that tweet. – darvids0n Feb 3 '12 at 3:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .