-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpractice.html
93 lines (78 loc) · 2.05 KB
/
practice.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width initial-scale=0.1" />
<title>HTML ELEMENTS</title>
<style>
table, td, th{
border: 1px solid black;
padding: 5px;
}
td{
text-align: center;
}
</style>
</head>
<body>
<h1 style="font-size: 20px;">1. HTML Formatting Elements:</h1>
<div class="format" style="display: flex; justify-content: space-evenly;">
<b>Bold</b>
<strong>strong</strong>
<i>Italic</i>
<em>emphasized text</em>
<mark>Mark</mark>
<del>Deleted</del>
<ins>Inserted</ins>
<div> A<sub> Subscript</sub></div>
<div>A <sup> SuperScript</sup></div>
</div>
<hr/>
<pre>
pre element:-
greet = () => {
console.log('Hello')
}
</pre>
<h2>Tables</h2>
<table style="width: 50%;">
<tr>
<th>Name</th>
<th>Age</th>
<th>Roll No</th>
</tr>
<tr>
<td>Krishna</td>
<td>22</td>
<td>84</td>
</tr>
<tr>
<td>Manikanta</td>
<td>24</td>
<td>86</td>
</tr>
</table>
<input type="button">
<input type="checkbox">
<input type="color">
<input type="date">
<input type="datetime-local">
<input type="email">
<input type="file">
<input type="hidden">
<input type="image">
<input type="month">
<input type="number">
<input type="password">
<input type="radio">
<input type="range">
<input type="reset">
<input type="search">
<input type="submit">
<input type="tel">
<input type="text">
<input type="time">
<input type="url">
<input type="week">
</body>
</html>