DOM (Document Object Model)

-> DOM can manipulate the HTML in the browser
-> DOM is the object model in Javascript.
-> Convert your html into an object. That object…