HTML Editor
Run
<!DOCTYPE html> <html lang="en-US"> <body> <p onclick="myFunction()">Click me</p> <script> function myFunction(){ alert(location.hostname); } </script> </body> </html>
OUTPUT
×
Save as
Private
Tag
AJAX
Canvas
CSS
Google Charts
HTML
Javascript
jQuery
JSON
SASS
SVG
Description
Save