Manual:$wgHtml5

Details
Whether to output an HTML 5 doctype. See HTML 5.

If $wgWellFormedXml is true, XHTML 1.0 Strict is output as the doctype for backwards-compatibility.