Unclosed span tag causes duplicate nodes in IE (7, 8, 9)


  • If some page contains unclosed span html elements, it causes that IE duplicates almost all following elements. I originally found it on page (on find hotels result page), but I created simple page, that helps to identify that issue. You can find it there:, when open it with any other browser it shows 1 node, but IE shows thousand of nodes with id "byeWorld".
    • Edited by Yurii R Tuesday, February 21, 2012 11:33 AM
    Tuesday, February 21, 2012 11:32 AM


  • Hi,

    thats why we tell posters to validate their markup and correct their errors and warnings.... Yahoo, Google site builder, Eric Myer, Max Designs all recommend that deviners should always validate their markup.

    html5 is the first spec to specify how browsers should correct errors.

    each browser vendor has their own interpretation of how they correct errors in markup ..... what a mess.

    The problem is html is a markup language, not a programming language.... it is not compilied before it goes down the wire... but the same problems exist in programming languages... there are plenty of variants of C

    junk in >> junk out


    Tuesday, February 21, 2012 7:42 PM