MyBB Community Forums

Full Version: [split] Remove <!DOCTYPE ... > heading in output
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi to all and sorry for my bad english
I checked my site with validator.w3.org and I received an error
No DOCTYPE found! Checking with default XHTML 1.0 Transitional Document Type
[Image: 1381178377.jpg]
What should I do?

tanks for help
^ can we have your forum url
sorry - my forum : http://www.mob2.ir
you can ignore that error as below code exists on your forum at the beginning
<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
If it is possible

Explain clearly because I am not familiar with this script
I used previously vBulletin
I've recently become mybb

and i dont know about that

thank you and sorry for bad english Blush
^ well, actually you do not have to worry about that error shown at the validator. required code automatically
appears on all pages of MyBB forum and all modern browsers show the forum without any breaks by using the code.
Thank you very much for help
HTML5 (incorrectly, IMO) removes the need of a DOCTYPE declaration.