HTML Editor
<!DOCTYPE html> <html lang="en-US"> <body> <p>Type your Name and blur the input field.</p> <input type="text" onfocusout="myFunction(this)"> <script> function myFunction(x){ x.style.color = "red"; } </script> </body> </html>
OUTPUT
×

Save as Private