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