Understanding terminology used to describe the DOM

45 Views Asked by At

This might seem a bit of an odd question, but I'm grappling with the DOM right now and trying to make sense of its structure. Much of the language that is used to describe its constructs are a little confusing to me as I try to visualize the DOM more concretely.

It seems the preposition "on" is often used to describe the relationship between properties and objects. For example, a question posed to this forum asks "Why do Dom-elements exist as properties on the window object". A respondent writes "...the HTML5 specifies that elements are candidates to be directly exposed as properties on the window object...".

This bothers me. Why 'on'? I hate to be so persnickety, but aren't properties "of" an object? Or found "in" an object? Or "inherited by" or "from" another object? When are properties 'on' an object? So there must be some significance of the use of the preposition 'on' to describe something of which I am unaware. There is also reference to properties or objects being "attached" to an object, which I suspect means the same thing.

0

There are 0 best solutions below