MyBB Community Forums

Full Version: Is good idea use HTML 5 declaration instead of XHTML Transitional?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

Is good idea use HTML 5 declaration instead of HTML Transitional?

What problem can I have in the forum? using HTML 5 declaration

HTML 5

<!DOCTYPE html>

HTML Transitional

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


Best regards
I don't think so, read this
https://www.w3schools.com/tags/tag_doctype.asp

Regards
WallBB
You should not just change it, unless you are using a complete template set that conforms to HTML 5 standards.

If you change the doctype of the default template to HTML 5 and do nothing else your validation breaks.

https://validator.w3.org/
I can't say whether it is good or bad for a MyBB forum !

let me add a few references which might be helpful
rich snippets - html5 | doc type html5 | html5 doc type support plugin