Is there a reason that HTMLDocument.Iterator works for some tags and not for others?
John Zukowski The iterator only works for those tags that have been flagged as block tags in the HTML.Tag class. Block tags are those that add structure to the document, like H1, H2, TABLE, and BODY, but not APPLET, INPUT, or STRONG. If you don't know if a particular tag is a block tag, ask it with isBlock(). There is no setBlock() method to change the designation.
It appears as though you can subclass the HTML.Tag class to define your own tags and change the block status.