> <input type="text" pattern="email"> > <input type="username" pattern="email"> What if for some strange reason I wanted to only allow the text e-m-a-i-l ? There would have to be some way to differentiate between a keyword and a normal pattern.