DOM Level 1 provided a complete model for an entire HTML or XML document, including the means to change any portion of the document. DOM Level 2 was published in late 2000. It introduced the getElementById function as well as an event model and support for XML namespaces and CSS. DOM Level 3, published in April 2004, added support for XPath and keyboard event handling, as well as an interface for serializing documents as XML. HTML5 was published in October 2014. Part of HTML5 had replaced DOM Level 2 HTML module. DOM Level 4 was published in 2015 and retired in November 2020. DOM 2020-06 was published in September 2021 as a W3C Recommendation. It is a snapshot of the WHATWG living standard.
DOM Level 1 provided a complete model for an entire HTML or XML document including the means to change any portion of the document DOM Level 2 was published in late 2000 It introduced the getElementById function as well as an event model and support for XML namespaces and CSS DOM Level 3 published in April 2004 added support for XPath and keyboard event handling as well as an interface for serializing documents as XML HTML5 was published in October 2014 Part of HTML5 had replaced DOM Level 2 HTML module DOM Level 4 was published in 2015 and retired in November 2020 DOM 2020-06 was published in September 2021 as a W3C Recommendation It is a snapshot of the WHATWG living standard