Obtaining Information about Elements

Let's more explore DOM in this lesson.

HTML content

The innerHTML property will retrieve the HTML content of your DOM element.

Access this course and 1400+ top-rated courses and projects.