Home > Web Front-end > HTML Tutorial > What is the Document Object Model?

What is the Document Object Model?

PHPz
Release: 2023-09-15 23:05:03
forward
1559 people have browsed it

文档对象模型(Document Object Model)是什么?

The Document object represents the HTML document displayed in this window. Document objects have various properties that reference other objects and allow access to and modification of document contents.

The way to access and modify the content of the document is called the document object Model, or DOM. Objects are organized hierarchically. This hierarchy is suitable for object organization in Web documents.

  • Window Object - The top of the hierarchy. It is the most important element of the object hierarchy.
  • Document Object - Each HTML document loaded into the window becomes a document object. The document contains the content of the page.
  • Form Object - Everything contained within the
    ...
    tag sets the form object.
  • Form Control Elements - A form object contains all the elements defined for the object, such as text fields, buttons, radio buttons, and checkboxes.

The above is the detailed content of What is the Document Object Model?. For more information, please follow other related articles on the PHP Chinese website!

source:tutorialspoint.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template