На этой странице возникла скриптовая ошибка. Хотя она адресуется редакторам сайта, вы можете просмотреть частичное содержимое ниже.
Что такое DOM?
The Document Object Model (DOM) - a programmable interface for HTML and XML documents. It provides a structured representation of the document, and it also determines the way in which the structure can be accessed from the program, so that she could change the structure of the document, the style and content. DOM provides a representation of the document as a structured group of nodes and objects that have properties and methods. Essentially, it connects web pages to scripts or programming languages.
Standard W3C DOM forms the basis of the object model DOM, implemented in most modern browsers. Many browsers offer extensions beyond the standard W3C, so these must be tested on the Internet, where the documents can be accessed from a variety of different browsers the DOM.
For example, W3C DOM specifies that the method
getElementsByTagName in the code below should return spisrk all elements of
<P> in the document:
Paragraphs = document.getElementsByTagName ("P");
// Paragraphs  - the first <p> element
// paragraphs  - the second <p> element
alert (paragraphs  .nodeName);
All the properties, methods and events are available for manipulating and creating web pages are organized into objects (for example,
document object that represents the document itself,
table object, which includes a special
HTMLTableElement -DOM interface to access an HTML table, and so on) . This documentation provides referential integrity (?) From object to object in the browser based on Gecko.