MyBB Community Forums
<!DOCTYPE html> Issue - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: <!DOCTYPE html> Issue (/thread-195202.html)



<!DOCTYPE html> Issue - Nuance - 2016-07-05

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.


RE: <!DOCTYPE html> Issue - .m. - 2016-07-05

well, there is no such error when we validate this community forum (link) !


RE: <!DOCTYPE html> Issue - Nuance - 2016-07-05

(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.


RE: <!DOCTYPE html> Issue - Ashley1 - 2016-07-05

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.


RE: <!DOCTYPE html> Issue - laie_techie - 2016-07-05

<!DOCTYPE html> could indicate HTML 3 or HTML 5.