[Lvlug] DOM tree visualization and some specific questions

Randy Kramer rhkramer at gmail.com
Mon Jul 16 19:41:31 EDT 2007


On Monday 16 July 2007 03:57 pm, Caleb Shay wrote:
> On 7/16/07, Randy Kramer <rhkramer at gmail.com> wrote:
> > 1. In a DOM tree with headings at various levels (like h1, h2, ...), are 
the
> > headings below a higher level heading children (or descendants) of the 
higher
> > level headings?  (I.e., can I access them by using the child 
property/method
> > of the higher level heading?)
> No.

Thanks! (but darn!)

> > 2. Similarly for text below a heading, is it a child of the heading?
> No.

Ditto!

> > 3. Anybody know of some (Linux) software or (preferably) a web site that I 
can
> > use to visualize the DOM tree of a given HTML document?  (It would be 
helpful
> > to me to be able to submit a file to a website and view a "picture" of the
> > DOM tree.)
> 
> Firefox.  Menu.  Tools->DOM Inspector

Thanks!  (Sideways, but I'm getting the hang of it.)

Randy Kramer



More information about the Lvlug mailing list