-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.html
70 lines (68 loc) · 4 KB
/
form.html
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
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="/src/style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>form</title>
</head>
<body>
<nav class="navbar">
<img src="/src/public/shlepa.jpg" width="60" height="60" alt="flepa">
<div style="margin: auto">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="video.html">Video</a></li>
<li><a href="audio.html">Music</a></li>
<li><a href="books.html">Book</a></li>
<li class="work"><a href="#">Work ▽</a>
<ul>
<li><a href="form.html">Form</a></li>
<li><a href="math.html">Math</a></li>
<li><a href="api.html">API</li>
</ul>
</li>
<li><a href="https://ku.edu.kz">Entry</a></li>
</ul>
</div>
<div class="burger" id="burger2">
<span></span>
<span></span>
<span></span>
</div>
</nav>
<main class="form"> <!-- Main content area with a class of 'form' for styling -->
<form> <!-- Begin a form element -->
<fieldset> <!-- Group related elements in a box with a border -->
<legend>Personal information</legend> <!-- Caption for the fieldset -->
<label for="name">Name </label> <!-- Label for the 'name' input field -->
<input id="name" name="new_name" placeholder="Name" type="text" required/> <!-- Input field for the name, with a placeholder and required attribute -->
<label for="surname">Surname </label> <!-- Label for the 'surname' input field -->
<input id="surname" name="new_surname" placeholder="Surname" type="text" required/> <!-- Input field for the surname, with a placeholder and required attribute -->
<label for="age">Age </label> <!-- Label for the 'age' input field -->
<input id="age" name="new_age" placeholder="18" type="number" required/> <!-- Input field for age, with a placeholder and required attribute -->
<label for="adress">Address </label> <!-- Label for the 'address' input field (note typo in 'adress') -->
<input id="adress" name="new_adress" type="text"/> <!-- Input field for the address -->
<label for="phone">Phone number </label> <!-- Label for the 'phone' input field -->
<input id="phone" name="new_phone" type="tel"/> <!-- Input field for the phone number -->
<label for="email">Email </label> <!-- Label for the 'email' input field -->
<input id="email" name="new_email" type="email"/> <!-- Input field for the email -->
</fieldset>
<fieldset> <!-- Group related elements in a box with a border -->
<legend>Educational information</legend> <!-- Caption for the fieldset -->
<label for="faculty">Faculty </label> <!-- Label for the 'faculty' input field -->
<input id="faculty" name="new_faculty" type="text"/> <!-- Input field for the faculty -->
<label for="group">Group </label> <!-- Label for the 'group' input field -->
<input id="grouop" name="new_group" type="text" required/> <!-- Input field for the group, with a required attribute (note typo in 'grouop') -->
<label for="order">Date of enrollment order </label> <!-- Label for the 'order' input field -->
<input id="order" name="new_order" type="date"/> <!-- Input field for the date of enrollment order -->
</fieldset>
<button type="submit">Submit</button> <!-- Submit button for the form -->
</form>
</main>
<footer>
<a href="http://youtube.com"><img width="60px" src="./src/public/Youtube_logo.png"></a>
</footer>
<script src="js/scripts.js"></script>
</body>
</html>