Forms in HTML

<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
  1. Only Statement 1 is correct
  2. Only Statement 2 is correct
  3. Both the statement are correct
  4. Neither of the statement is correct

Related Posts

Close Bitnami banner
Bitnami