The general advantages of DOM include:

  • Data persists in memory
  • You can go forwards and backwards in the tree (random access)
  • You can make changes directly to the tree in memory