As I’ve already explained in your other thread, that HTML is invalid. You cannot expect invalid code to work correctly.