0

Trying to validate html5 and I get following errors:

Error: Saw < when expecting an attribute name. Probable cause: Missing > immediately before.
At line 3, column 1
html lang="nl"↩<head>↩<meta ht
Warning: Attribute <head is not serializable as XML 1.0.
From line 1, column 16; to line 3, column 6
TYPE HTML>↩<html lang="nl"↩<head>↩<meta

Error: Attribute <head not allowed on element html at this point.
From line 1, column 16; to line 3, column 6
TYPE HTML>↩<html lang="nl"↩<head>↩<meta
Attributes for element html:
Global attributes

manifest

0

2 Answers 2

1

Magento's default (and most of the third party) themes don't validate to the HTML5 specification. The default ones were created around 2007/2008 before HTML5 was mainstream. Check with individual theme authors for the 3rd party ones if you want HTML5 support.

Sign up to request clarification or add additional context in comments.

Comments

0

Magento Boilerplate is an open source project you should look at. It may not be 100% to the spec, but it looks like your best bet.

https://github.com/zeljkoprsa/Magento-Boilerplate

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.