![]() |
VOOZH | about |
The pattern attribute is used to define a regular expression that the input value must match. It helps validate user input before form submission.
Syntax:
<input pattern = "regular_exp">Example: Illustrates the use of pattern attribute in <input> element.