HTML to JavaScript online tool
JavaScript code
using the document.write statement.
Use the document.write statement in the function to output.
As a variable
Enter variable name:
HTML to JS
copy