I'm part of a team that's updating a website for a bank.
The web pages use an XHTML doctype:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
However, I'm finding lots of HTML5 elements in the source and they want more.
Updating to the HTML5 doctype is not an option.
According to the bank, the site works perfectly well as-is. So apparently the browsers don't seem to care (although the pages are validating with lots of errors).
Is it safe to just skip the doctype issue?
Is there a standard method for handling HTML5 elements when using pre-HTML5 doctypes?
I'm looking for any potential security or performance issues.
content="text/html; ..., as expected. (I don't think I've ever seen the elusiveapplication/xhtml+xmlin the wild.)