how i can print in HTML5 (cod java script print )
This question is a bit ambiguous.
If you want to "print" something using only HTML, you can't because HTML doesn't execute. HTML is not a programming language. Instead, whatever you type goes into the document directly.
- If you want to print something to the console,
console.log("howdy")will do that.
- If you want to output something to the document,
document.body.innerHTML += "howdy"might work.