Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

All comments

  • @tjenkins

    Posted

    If you set type="email" for the email input element, the browser will check that the user entered a valid email address automatically. You can then use the :valid and :invalid CSS pseudo-classes to style the input accordingly.

    More info here: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email.

    Hope that helps!

    1