-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexp2.html
More file actions
56 lines (52 loc) · 1.95 KB
/
Copy pathexp2.html
File metadata and controls
56 lines (52 loc) · 1.95 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Its deepak yadav from sharda university">
<meta name="keywords" content="HTML,CSS,XML,JavaScript">
<meta name="author" content="Deepak Yadav">
<meta name="og.image" content="img1.jpg">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document_Experiment2</title>
<link rel="stylesheet" href="styles.css">
<link rel="shortcut icon" href="img1.jpg" type="image/x-icon" />
</head>
<body>
<h1>FORM ELEMENTS</h1>
<form>
First name:<br>
<input type="text" name="firstname"><br>
Last name:<br>
<input type="text" name="lastname">
<h2>Radio Buttons</h2>
<input type="radio" name="gender" value="male" checked> Male<br>
<input type="radio" name="gender" value="female"> Female<br>
<input type="radio" name="gender" value="Other"> Other <br>
<h2>Buttons</h2>
<input type="submit" value="Submit">
<h2>Dropdown</h2>
<select name="course">
<option value="Btech">Btech</option>
<option value="Mtech">Mtech</option>
<option value="BCA">BCA</option>
<option value="MCA">MCA</option>
</select>
<h2>Textarea</h2>
<textarea name="message" rows="10" cols="30">
YOU CAN INPUT PARAGRAPHS AS WELL
</textarea>
<h2>Alert Button</h2>
<button type="button" onclick="alert('Hello World!')">Click Me!</button>
<h2>Datalist</h2>
<input list="technology used">
<datalist id="technology used">
<option value="front end development">
<option value="backend development">
<option value="full stack">
<option value="Quality assurance">
<option value="Testing">
</datalist>
</form>
</body>
</html>