aboutsummaryrefslogtreecommitdiffstats
path: root/csci4131/lec/Lex8Ex1.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--csci4131/lec/Lex8Ex1.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/csci4131/lec/Lex8Ex1.html b/csci4131/lec/Lex8Ex1.html
new file mode 100644
index 0000000..e08b7ef
--- /dev/null
+++ b/csci4131/lec/Lex8Ex1.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<body>
+
+<h1>Display a Telephone Input Field</h1>
+
+<form action="https://www.cs.umn.edu/">
+ <label for="phone">Enter a phone number:</label><br><br>
+ <input type="text" pattern="^[2-9]\d{2}-\d{3}-\d{4}$"/>
+ <small>Format: 123-456-6789</small><br><br>
+ <input type="submit">
+</form>
+
+</body>
+</html> \ No newline at end of file