What do the FireBug DOM colors mean?

I am confused by these colors. I noticed that in the left column of the FireBug DOM DOM tree, four colors are shown:

  • Bold black
  • The black
  • Bold green
  • Green

In the right column:

  • blue
  • Red
  • Bold green
  • Green
  • Several color elements representing the structure of objects.

What are these colors? And why, for example, can I access window.document.URL, and I can’t access window.document.body in the console, although they are both in the non-greasy black category in the DOM tree?

thanks a lot

+5
source share
3 answers

After I delved into it, I received the answer:

In the left column:

, - . , "", javascript/DOM.

:

, . " ", ,

+1

.

Bold Black                   Objects
Black                        DOM objects
get in gray                  "Getter" functions
Bold green                   User functions
Green                        DOM functions
Bold Red                     Constructor functions

. .
FAQ .

+13

http://getfirebug.com/dom.html

, HTML , , , , , .

But I cannot be bothered by finding what color represents what. With this information, I'm sure you can do it yourself.

+1
source

All Articles