Question - What is DOM? What is it used for?
Answer -
DOM stands for the Document Object Model. It is an API, Application Programming Interface that allows navigation through objects. Documents are treated as objects. DOM documents are generated by the user or created by a parser.