-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquiz.html
41 lines (40 loc) · 1.58 KB
/
quiz.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WDD 130 | HTML CSS User - Quiz</title>
<meta name="description" content="Siyaka Promise Wdd form quiz page to practice forms">
<meta name="author" content="Siyaka Promise">
<link rel="stylesheet" href="styles/quiz.css">
</head>
<body>
<header>
<h1>WDD 130 | Siyaka Promise | HTML Form quiz page</h1>
</header>
<main>
<form action="">
<fieldset>
<legend>Quiz Questions</legend>
<label for="q1">1. what is the full meaning of html? </label>
<input type="text" id="q1" name="q1">
<label for="q2">2. What is the difference between CSS and HTML</label>
<textarea name="q2" id="q2" placeholder="" cols="30" rows="10"></textarea>
<label for="q3">3. Which of these is an attribute for html elements</label>
<select name="q3" id="q3">
<option value="" selected disabled>Choose one...</option>
<option value="bike">bike</option>
<option value="name">name</option>
<option value="hash">hash</option>
</select>
<label for="q4">4. If an element has a width of 50% how many px is this element if the parent element width is 200px:</label>
<input type="number" id="q4" name="q4">
</fieldset>
<button type="submit">Submit Quiz</button>
</form>
</main>
<footer>
<p>©2023 | Siyaka Promise | HTML Form User - Quiz</p>
</footer>
</body>
</html>