Inner HTML lets you get and set the content of selected element.
#javascript
// Get the inner HTML value of the selected element and assign it to a variablevarel=document.getElementById("element").innerHTML;// Set the inner HTML valuedocument.getElementById("another-element").innerHTML="New content added";