Html5 Template required for latest w3.org validation

Does anyone know of a template that satisfies all conditions?

https://validator.w3.org/nu/

If not maybe this would make an interesting challenge.

I read through what I could see there, but didn’t spot anything to define any conditions. Am I supposed to go back to the w3c spec to find out what it’s intended to do?

My bad choice of words, I meant a template that incorporates the latest html5 new features/ elements.

The reason I am asking is because my websites no longer validate using the latest validation check.

What’s it flagging you on?

[body element with no heading]
[nav element with no heading]

Alright, I don’t know enough about HTML(any version) yet, but for the life of me, I can’t think that those specific tags need a heading. Can you just drop a couple of empty <heading> elements in there, making sure all styling is turned off, and see if it makes any difference?

I read something about <nav> elements needing a header, which seems stupid to me.
Just checked some sites I have been working on. One validates just fine, but being WIP does not have the nav on it yet (just a single page so far). I tried a draft version which does have the nav (without header) and that validates OK.
What’s strange is I tried another site and its giving me 403 in the validator, thought the site does seem to be working.

@chrisofarabia

…
Can you just drop a couple of empty elements in there, making sure all styling is turned off, and see if it makes any difference?

Yes I changed a div to a header and it did not remove the warning.

Mind you, that site does come with a bit of a warning that its assessment may change at times.

I think the new validator has some bugs, I had similar problems which I eliminated.

It would be helpful if a valid template was available which demonstrates the requirements.

1 Like

I moved 7 posts to an existing topic: FB Like/Share button script giving me validation error

I moved 2 posts to an existing topic: FB Like/Share button script giving me validation error

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.