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

'HTML,CSS,JS,jQuery,AJAX > HTML+CSS' 카테고리의 다른 글
required="required" -> 필수입력 속성 (0) | 2021.02.24 |
---|---|
input + jsp / fieldset-줄로감싸기, label for="실행을원하는 input의 id명" => label안의 글자를 눌러도 해당 input이 실행 (0) | 2021.02.24 |
html 주석 (0) | 2021.02.22 |