Input Type Email

Input Type Email

Easy HTML Accessibility & SEO 14 views
Explanation Complexity

Problem Statement

Create an email input using correct type for better validation.

Input Format

No input.

Output Format

Print the HTML code.

Constraints

Use type='email'.

Input / Output Format

Input Format
No input.
Output Format
Print the HTML code.
Constraints
Use type='email'.

Examples

Input:
Output:
(HTML code)

Example Solution (Public)

HTML
<!doctype html>
<html lang='en'>
<head>
  <meta charset='utf-8'>\
  <meta name='viewport' content='width=device-width, initial-scale=1'>
  <title>meetcode</title>
</head>
<body>
  <label>Email <input type='email' name='email' autocomplete='email'></label>
</body>
</html>

Official Solution Code

<!doctype html>
<html lang='en'>
<head>
  <meta charset='utf-8'>\
  <meta name='viewport' content='width=device-width, initial-scale=1'>
  <title>meetcode</title>
</head>
<body>
  <label>Email <input type='email' name='email' autocomplete='email'></label>
</body>
</html>
Please login to submit solutions.
Editor
Output

                                        
Please login to submit solutions.