Having

```
<input type="email" name="myEmail" />

```

I would like to inform JavaScript whether the entered input is en e-mail or not. Same thing with 'url' and other HTML5 input types.

Simply speaking - is there any 'flag' or whatsoever that signals if the HTML5 type requirement has been fulfilled?