SyntaxFix
Write A Post
Hire A Developer
Questions
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: