Results 1 to 4 of 4

Thread: Element bottom not allowed as child of element div in this context

  1. #1
    Join Date
    Apr 2012
    Location
    Central New Jersey
    Posts
    259
    Thanks
    92
    Thanked 3 Times in 3 Posts

    Default Element bottom not allowed as child of element div in this context

    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.
    Last edited by marain; 10-06-2020 at 11:53 PM. Reason: Mark "Resolved"

  2. #2
    Join Date
    Mar 2011
    Posts
    2,027
    Thanks
    59
    Thanked 108 Times in 106 Posts
    Blog Entries
    4

    Default

    It's refering to this part of the code
    HTML 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.

  3. The Following User Says Thank You to keyboard For This Useful Post:

    marain (10-06-2020)

  4. #3
    Join Date
    Apr 2012
    Location
    Central New Jersey
    Posts
    259
    Thanks
    92
    Thanked 3 Times in 3 Posts

    Default

    Oops. Brain fart on my part. I meant to use the footer tag.

    Thanks.

    A.

  5. #4
    Join Date
    Oct 2020
    Location
    Hong Kong
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    This question is actually very simple. The friends above have already answered that div elements cannot be placed in span elements.

Similar Threads

  1. Resolved Ajax loaded element not recognized in ajax post send(element)?
    By crobinson42 in forum JavaScript
    Replies: 6
    Last Post: 04-10-2012, 07:48 PM
  2. Element referenced by ID/NAME in global context. problem
    By yanthegreat15 in forum JavaScript
    Replies: 1
    Last Post: 07-03-2010, 06:03 PM
  3. Changing the first TR element to THEAD element
    By codeexploiter in forum JavaScript
    Replies: 3
    Last Post: 03-23-2007, 10:02 AM
  4. Replies: 2
    Last Post: 01-29-2007, 11:21 AM
  5. Replies: 0
    Last Post: 04-05-2006, 07:52 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •