Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<style>  
[required] {     
  border-color: #88a;     
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 255, .8);  
}
:invalid {     
  border-color: #e88;     
  -webkit-box-shadow: 0 0 10px rgba(255, 0, 0, .8);
}
</style>
  
<body>
<form>
  Enter several email addresses : <input type="email" name="myemail" multiple="multiple"/><br />
  <input type="submit" value="Submit" /><br />
</form>
  Note type in a list of email addresses separated by a comma. Try to submit. Then remove the multiple attribute and see that the browser does not accept form submission.
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers