Need help with making a HTML5 validation error if someone enters an email that is not formatted correctly

I have already put the required attribute but it is not working

Remember to put type=“email” in the input so they can only enter emails.

Can you share your code?

Thank you…had not done that

I have seen the problem,but thanks for the effort