In HTML5 you can do like this:
<form>
<input type="email" placeholder="Enter your email">
<input type="submit" value="Submit">
</form>
And when the user press submit, it automatically shows an error message like:
More Related Contents:
- How to design an HTML/CSS signature that will work in Outlook 2016? [duplicate]
- mailto link with HTML body
- Can I set subject/content of email using mailto:?
- base64 encoded images in email signatures
- Is it possible to add an HTML link in the body of a MAILTO link [duplicate]
- embedding image in html email
- Full Width Backgrounds on Outlook ’07/’10/’13
- Html form in email
- Can you link to a CSS file from an email?
- Mailx send html message [duplicate]
- What is Data URI support like in major email client software?
- Base64 images to gmail
- Send HTML mail using Android intent
- Testing HTML email rendering [closed]
- What guidelines for HTML email design are there? [closed]
- Gmail blocking small embedded inline images in email template
- How to send HTML email using linux command line
- Rounded corners in outlook without images
- Django: How to send HTML emails with embedded images
- Responsive order confirmation emails for mobile devices?
- Can I put a … tag within the body of a HTML file to send in email?
- The css padding is not working in outlook
- Can Outlook 2010 use a web font in an html email?
- Is there an equivalent of CSS max-width that works in HTML emails?
- Adding HTML forms to email
- Sending HTML mail using a shell script
- Expand a div to fill the remaining width
- Apply style to parent if it has child with CSS [duplicate]
- Center an image horizontally using CSS
- In the DOM are node ids case sensititve?