how to print inside the html script code example Example: how to code print in javascript console.log("print") //or alert("Print")