The community is working on translating this tutorial into Portuguese, but it seems that no one has started the translation process for this article yet. If you can help us, then please click "More info".
If you are fluent in Portuguese, then please help us - just point to any untranslated element inside the article and click the translation button to get started. Or have a look at the current translation status for the Portuguese language.
If you see a translation that you think looks wrong, then please consult the original article to make sure and then use the vote button to let us know about it.
Please help us by translating the following metadata for the article/chapter, if they are not already translated.
If you are not satisfied with the translation of a specific metadata item, you may vote it down - when it reaches a certain negative threshold, it will be removed. Please only submit an altered translation of a metadata item if you have good reasons to do so!
Validating phone numbers
As of writing this, this is one of the new input types that are not yet supported by any browsers. This means, that the browsers do not check for any patterns as with the url or email input. One of the reasons this input type have no pattern might be the fact that phonenumbers differs from country to country and therefore prevents the use of one standard pattern. This should not prevent you from using this input type as it makes your markup more semantically correct and future-proofs your website.
<form> Your phonenumber: <input type="tel" required /> <input type="submit" value="Submit now" /> </form>
One of the other great things about this input type is, that most smartphones changes the keyboard from the regular qwerty keyboard to a number pad – and this really improves the user experience!