Wordpress Doctype

Hi,

I am trying to fix all the validation errors i have at the following link

www.thesportsinjuryclinic.org

I am confused as to what version i am testing this with as there are not many errors when testing HTML5 but lots when testing HTML 4 traditional. Looking at the doctype in the wordpress header looks like a HTML5 doctype but this is a HTML 4 template. Just a little confused as to what i am suppose to be using and testing?

Could you please advise on this so i can get rid of all my errors?

Thanks,
Andy6350Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

James RodgersWeb Applications DeveloperCommented:
"but this is a HTML 4 template"
on what basis are you making this statement?

it validates as html 5 with a couple of errors
is declared as html 5
so why do you think is should be html 4?
0
COBOLdinosaurCommented:
Validating HTML5 markup as HTML4 will generate a lot of errors because HTML5 uses new tags, attributes and attribute values that do not exist in the HTML4 standard.

A template using HTML4 markup that includes obsolete code will still work but if it contains errors caused by obsolete references, then it may develop problems, and is not reliable because the browser are free to drop support for obsolete elements without notice; or render them in a way that does not comply with the old HTML4 standard.

Cd&
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Andy6350Author Commented:
Thank you for this. I have been using a HTML4 template which i need to move onto the most modern templates.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.