...
/Obtaining Information about Elements
Obtaining Information about Elements
Let's more explore DOM in this lesson.
We'll cover the following...
HTML content
The innerHTML
property will retrieve the HTML content of your DOM element.
Textual content
The textContent
property returns all the text content of a DOM element, without ...