Week 13 Complete
Week 13 Complete
Validation
For some types like e-mail, there's some basic
validation. But this is not very smart validation.
• http://www.w3schools.com/jsref/jsref_obj_regexp.asp
Two Important
Features of Input
Two Important Features of Input
• There are two more features I wanted to mention on
inputs.
• treated as text. So, new input types will still work even if
they are not supported on a particular browser.
• But you'll notice, it's much easier to touch the one with
the label. The one without a label, you have to actually
touch the check box itself, in order to activate the
control.
telecolon URL
On mobile, you can use a telecolon URL to
create a URL that when activated will
actually dial a telephone number. This is a
really handy feature, particularly for
business websites. Customers can instantly
dial you.
• Of course, on desktop, these URLs will typically fail, so
you probably want to deactivate them.