-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform.html
More file actions
52 lines (42 loc) · 1.42 KB
/
form.html
File metadata and controls
52 lines (42 loc) · 1.42 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Zara's Portfolio</title>
</head>
<body>
<header>
<h1 class="portfolio-title">Zara's Portfolio</h1>
<h2 class="subtitle">Form</h2>
</header>
<nav class="tabs">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="aboutme.html">About Me</a></li>
<li><a href="task1_1p.html">Task 1.1p</a></li>
<li><a href="task1_2p.html">Task 1.2p</a></li>
<li><a href="summary.html">Summary</a></li>
<li><a href="form.html">Form</a></li>
<li><a href="game.html">Game</a></li>
<li><a href="router.html">Router</a></li>
</ul>
</nav>
<div class="task-container">
<h2>Form</h2>
<form>
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>
<br>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
<br>
<label for="comments">Comments:</label>
<textarea id="comments" name="comments" rows="4" required></textarea>
<br>
<input type="button" value="Submit" onclick="submitForm()">
</form>
</div>
</body>
</html>