programming-examples/html/Form/form_input_text_pattern.html

14 lines
220 B
HTML
Raw Normal View History

2019-11-15 12:59:38 +01:00
<!DOCTYPE html>
<html>
<head>
<title>Html5</title>
<meta charset="UTF-8">
</head>
<body>
<form action="">
Postal Code:
<input type="text" pattern="[0-9]{5}"><br>
<input type="submit" value="Send">
</form>
</body>
</html>