Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> </head> <body> <p id="example"></p> <script> document.getElementById("example").innerHTML = "My first JavaScript code"; </script> </body> </html>