what is the difference between Element Object (JavaScript) and Element (HTML)?
"Element is the most general base class from which all objects in a Document inherit. It only has methods and properties common to all kinds of elements." - Element Object
The reason I am confused is that ive heard from reputable websites for learning coding say that getElementById() returns an element whose id property matches the specified string but MDN says that getElementById() returns an Element object representing the element whose id property matches the specified string.