javascript in html print html code example Example: how to print in html Javascript console.log("Text");