MyBB Community Forums

Full Version: <!DOCTYPE html> Issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Using validator.w3.org to try to remove errors. It's giving me:

Quote:Error: Almost standards mode doctype. Expected e.g. <!DOCTYPE html>.
From line 1, column 1; to line 1, column 121
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ↩<htm

Whenever I replace my doctype with just <!DOCTYPE html> it fixes the error but breaks some parts of my forum. I noticed that community.mybb.com also uses that doctype.
well, there is no such error when we validate this community forum (link) !
(2016-07-05, 04:27 AM).m. Wrote: [ -> ]well, there is no such error when we validate this community forum (link) !

I was using this page. Sorry for not being more specific.
What do you mean by break your forum? You can change the doctype to HTML5, but there's many changes you then need to make to get your site to validate.
<!DOCTYPE html> could indicate HTML 3 or HTML 5.