The namedItem() method returns the element with the specified id or name.
Click "Get" to get the content of the p element with id="myElement":