© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
T. ValentineDatabase-Driven Web Developmenthttps://doi.org/10.1007/978-1-4842-9792-6_5

5. Understanding the Document Object Model (DOM)

Thomas Valentine1  
(1)
Selkirk, MB, Canada
 

Now that we’ve covered the basics, we’ll delve into the intricacies of the Document Object Model, or DOM for short. As its name implies, DOM is the process of accessing and perhaps changing the properties of the individual objects that comprise your HTML document.

Every object in your page has a certain set of properties associated with it. Those properties are the equivalent of the attributes of a page element. Each of these attributes or rules may be changed or set by a simple ...

Get Database-Driven Web Development: Learn to Operate at a Professional Level with PERL and MySQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.