-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
58 lines (57 loc) · 2.27 KB
/
index.html
File metadata and controls
58 lines (57 loc) · 2.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Валидация формы</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1 class="head">Форма с валидацией</h1>
<div class="formWrap">
<div id="error" class="errorBlock" title="Error!"></div>
<form id="form" action="#" method="post">
<div>
<label for="username">Имя:</label>
<input id="username" type="text" name="username" value="Artemka">
</div>
<div>
<label for="password"> Пароль:</label>
<input id="password" type="password" name="password" value="fkshfshfh">
</div>
<div>
<label for="email">e-mail</label>
<input id="email" type="email" name="email" value="test@testmail.ru">
</div>
<div>
<label for="gender">Пол:</label>
<select id="gender" name="gender">
<option value="m" selected>М</option>
<option value="f">Ж</option>
</select>
</div>
<div>
<label for="credit_card">Номер карты:</label>
<input id="credit_card" type="text" name="credit_card" value="5454527896396688">
</div>
<div>
<label for="bio">О себе:</label>
<textarea name="bio" id="bio" cols="30" rows="10" >Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ab accusamus accusantium aliquam aliquid culpa cupiditate eligendi, excepturi expedita fugiat illum laboriosam magnam nam numquam officiis porro, quae repudiandae sapiente temporibus.</textarea>
</div>
<div>
<label for="birth">Дата рождения:</label>
<input id="birth" type="text" name="birth" value="1985-05-25">
</div>
<div>
<input id="submit" type="button" value="Отправить">
</div>
</form>
</div>
<footer>
© Артем Шашков
</footer>
<script src="script.js"></script>
</body>
</html>