This is my simple web page just for your understanding you can see it in the console, I write the word “document” and then press enter. It shows like my web page as a document.
That’s the DOM, the web browser created this after loading the files (HTML, CSS) in the browser.
HTML DOM Tree of Objects:
Next, you will learn: