HTML Editor
Run
<!DOCTYPE html> <html lang="en-US"> <body> <p>Type your Name</p> <input type="text" onfocus="myFunction(this)"> <script> function myFunction(x) { x.style.color = "red"; } </script> </body> </html>
OUTPUT
×
Save as
Private
Tag
AJAX
Canvas
CSS
Google Charts
HTML
Javascript
jQuery
JSON
SASS
SVG
Description
Save