TutorialKart
index.html
►
Run
Reset
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <style> textarea:invalid { border: 2px solid yellow; } textarea:valid { border: 2px solid green; } </style> </head> <body> <form> <label>Comment (min 10 characters):</label> <textarea minlength="10" required></textarea> </form> </body> </html>