TutorialKart
index.html
►
Run
Reset
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <style> input:invalid { color: red; } input:valid { color: green; } </style> </head> <body> <form> <label>Password (min 6 characters):</label> <input type="password" minlength="6" required> </form> </body> </html>