0

Pattern Attribute in <input> tag

I want to know 1. How to use pattern attribute inside input tag. 2. What should be the Value of pattern attribute.

26th Jul 2019, 8:21 AM
Devender Kumar
Devender Kumar - avatar
3 Réponses
+ 6
The pattern attribute is used inside the input tag anywhere, for example <input type = "tel" pattern = "2- [0-9] {3} - [0-9] {3}" The numbers in this attribute are called "regular expressions" they can be found in the expression table.
26th Jul 2019, 8:40 AM
Anna/Аня
Anna/Аня - avatar
26th Jul 2019, 10:40 AM
Anna/Аня
Anna/Аня - avatar
+ 1
Anna where I can found that expression table.
26th Jul 2019, 8:44 AM
Devender Kumar
Devender Kumar - avatar