Objects are organized hierarchically. This hierarchical structure is suitable for the organization of objects in Web documents.
-
Window object − The top of the hierarchy. It is the highest element of the object hierarchy.
-
Document Object − Each HTML document loaded into the window becomes a document object. Documents contain the content of pages.
-
Form Object − All content contained in the tag is set to a form object.
-
Form Control Elements − A form object contains all the elements defined for the object, such as text fields, buttons, radio buttons, and check boxes.
The following is a simple hierarchy of some important objects −
The above is the detailed content of How are objects organized in web documents? How is it arranged hierarchically?. For more information, please follow other related articles on the PHP Chinese website!