See tkWWW for an example of what you get if you confuse a browser and editor.
See SoftQuad HoTMetaL for an example of a pure HTML editor.
There are lots of differences, one of which is that you need a different
kind of data stucture internally.
-- Liam Quin, Manager of Contracting, SoftQuad Inc +1 416 239 4801 firstname.lastname@example.org HexSweeper NeWS game;OPEN LOOK+XView+mf-fonts FAQs;lq-text unix text retrieval SoftQuad HoTMetaL: ftp.ncsa.uiuc.edu:Web/html/hotmetal, and also doc.ic.ac.uk: packages/WWW/ncsa/..., gatekeeper.dec.com:net/infosys/Mosaic/contrib/SoftQuad/