Log in

View Full Version : Resolved Element bottom not allowed as child of element div in this context



marain
10-06-2020, 10:51 PM
Folks,

www.NJDriversLicenses.com is failing a w3c check, giving the error message indicated above. I do not understand why.

Can someone please help?

A.

keyboard
10-06-2020, 11:38 PM
It's refering to this part of the code

<div id="bottom">
<bottom>

There are rules about what elements are allowed to be inside of other elements. For example, div elements cannot be placed inside span elements.

You've placed an element called "bottom" inside a div. I've never heard of the tag "bottom", and a quick google search cannot find anything about it either. Is it a valid type of html element? If no, try changing it and that will probably resolve your issue.

marain
10-06-2020, 11:52 PM
Oops. Brain fart on my part. I meant to use the footer tag.

Thanks.

A.