Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

What is the behavior of a Web browser when it receives an invalid element?

user-image
Question ajoutée par Zaid Rabab'a , Software Development Team Leader , Al-Safa Co. Ltd.
Date de publication: 2013/02/06
marwa khalaf
par marwa khalaf , .Net Developer , Sands National Academy

The behavior of a Web browser when it receives an invalid element depends on the browser that you use to browse your application.
Most of the browsers ignore the invalid element; whereas, some of them display the invalid elements on the page.

Utilisateur supprimé
par Utilisateur supprimé

Except Chrome, which fix its best possibility, all other MOSTLY ignore it.
You can use W3C validator http://validator.w3.org/

Furqan Ul Karim
par Furqan Ul Karim , Senior Delivery Manager (Contract) , Virgin Red

Well, Firefox ignores the invalid element but Internet explorer pops up an error message.
But this is not always a case as with xml issue firefox just shows the first line with error heading.
Most of the time it happens with xml or client side code(javascript, DOM, jquery)

Rani Alomari
par Rani Alomari , Full Stack .Net Developer , Jordan Center for Diseases Control (JCDC)

it will be canceled (treated as not exist)

More Questions Like This