<form> <label for="email">Email</label> <input required type="email" id="email" name="email" /> <input type="submit" /> </form>
Analyze the above given code snippet and choose the correct option with respect to the given statement.
Statement 1: INPUT type tells the browser that the content of this field should look like
an email address.
Statement 2: Required type check to see whether the email address exists.
Options
- Only Statement 1 is correct
- Only Statement 2 is correct
- Both the statement are correct
- Neither of the statement is correct