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.


1 Answer 1


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.


You must log in to answer this question.

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