Why jQuery is not a W3C standard?

14,874

There are already W3 standards for selecting and manipulating elements, jQuery is just a library that facilitates that. In other words, it is possible to do everything jQuery can do with regular JavaScript, so there is no reason to make it any kind of standard.

As to the edited version "does jQuery follow W3C standards", the answer is no. It uses non-standard properties and methods like innerHTML, as well as some browser-specific properties. Though it does this in a way that is useful and creates an "abstraction layer" that helps developers access these properties easily without worrying as much about browser compatibility, jQuery still does go against certain standards.

Share:
14,874
Gnanam
Author by

Gnanam

Updated on June 04, 2022

Comments

  • Gnanam
    Gnanam about 2 years

    I've read and heard that jQuery is not a W3C standard but at the same time I couldn't find the reason why it is so. Any explanation with reasoning are appreciated.

    EDIT: OK, may be I should reword/rephrase my original question. Actually, the question I had in my mind was -- Does jQuery follow W3C standards? but while posting it just got reworded.