Is it possible to create a string from a JavaScript HTMLElement Object? Here's an example:
var day = document.createElement("div");
day.className = "day";
day.textContent = "Random Text";
If we have created the day
HTMLDivElement Object, can we make it print as a string, like this?
<div class="day">Random Text</div>