1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html>
<head>
<meta charset="EUC-KR">
<title>ex17_inputType</title>
</head>
<body>
    <form action="" method="post" autocomplete="off">
        First Name : <input type="text" name="fname" autocomplete="off"><br />
        Last Name : <input type="text" name="lname" autofocus="autofocus" 
                    pattern="[A-Za-z]{3}" title="세글자만 포함하세요." required="required"><br />
                    <!-- 대소문자합해서 3글자만써야함 -->
        
        Email : <input type="email" name="email" autocomplete="off"><br />
        <input type="submit" value="send">        
    </form>
</body>
</html>
cs

 

http://localhost:8080/day33_html/1/ex17_inputType.html

 

+ Recent posts