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