/

HTML / CSS / JavaScript Tutorial

HTML Standard attribute: pattern

[this page | pdf | back links]

The HTML pattern attribute indicates the format expression that the value of an <input> element is checked against.

 

Valid attribute values (when used with <input> elements) include:

 

Value

Description

regular-expression

Regular expression against which input is compared

 


NAVIGATION LINKS
Contents | Prev | Next | HTML Attributes


Desktop view | Switch to Mobile