aboutsummaryrefslogtreecommitdiffstats
path: root/csci4131/lec/Lex8Ex1.html
diff options
context:
space:
mode:
authorRossTheRoss <mstrapp@protonmail.com>2021-02-18 08:55:34 -0600
committerRossTheRoss <mstrapp@protonmail.com>2021-02-18 08:55:34 -0600
commit97708131bb5e56f16bbe2deaab810bfcba972ef3 (patch)
treedfc39ce26ba274c2070fdafb63963ec91744cd70 /csci4131/lec/Lex8Ex1.html
parentFinish Web (diff)
downloadhomework-97708131bb5e56f16bbe2deaab810bfcba972ef3.tar
homework-97708131bb5e56f16bbe2deaab810bfcba972ef3.tar.gz
homework-97708131bb5e56f16bbe2deaab810bfcba972ef3.tar.bz2
homework-97708131bb5e56f16bbe2deaab810bfcba972ef3.tar.lz
homework-97708131bb5e56f16bbe2deaab810bfcba972ef3.tar.xz
homework-97708131bb5e56f16bbe2deaab810bfcba972ef3.tar.zst
homework-97708131bb5e56f16bbe2deaab810bfcba972ef3.zip
add lecture example
Diffstat (limited to 'csci4131/lec/Lex8Ex1.html')
-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