email input field html code example
Example 1: html email input
<form>
<div>
<label for="email-input">Label text</label><br>
<input
id="email-input"
type="email"
name="email-inputted"
placeholder="placeholder-text">
</div>
<button type="submit">Submit</button>
</form>
Example 2: html input for email
<div>
Email: <input type="email" name="myEmail">
</div>