Question 6
Consider the following HTML Document file given below.
index.html
<!DOCTYPE html><html lang="en"><head> <title>Document</title> <style> input:invalid { background: red; } input:valid { background: green; } </style></head><body> <form> <label for="uname">Enter a valid e-mail:</label> <input type="text" name="uname" minlength="8"> </form></body></html>Suppose the index.html is rendered on the browser. What will be the background color of the input box when the user enters the name “madcourse.mail.com”?
red
white
green
insufficient information