Hi

This is my 1st post so apologies for any errors in posting
I am new to javascript and wanted to know this

Say i had html code like this

<p id="Test">This is my test</p>

And javascript

Var x = document.getelementbyId("Test")
What is the x actually holding in memory
The whole line (<p id="Test">This is my test</p>)?

Im just curious to know as i know i can then use innertext, innerHtml etc but wernt sure what x held in memory