-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchapter2.html
More file actions
68 lines (53 loc) · 1.37 KB
/
chapter2.html
File metadata and controls
68 lines (53 loc) · 1.37 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
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CHAPTER 2</title>
</head>
<body>
<!-- block Elements -->
<h4>Block Elements Behaviour : </h4>
<h4>Ex : paragraph tag, div tag</h4>
<p>Hello User,</p>
<p>Welcome !!</p>
<!-- Inline Elements -->
<h4>Inline Elements Behaviour : </h4>
<h4>Ex : anchor tag, span tag</h4>
<a href="www.google.com">Google</a>
<a href="www.facebook.com">Facebook</a>
<a href="www.youtube.com">Youtube</a>
<hr> <!--hr tag act as divider-->
<!-- div Element -->
<h4>div tag :</h4>
<div>
<a href="www.google.com">Google</a>
<a href="www.facebook.com">Facebook</a>
</div>
<a href="www.youtube.com">Youtube</a>
<!-- span Element -->
<h4>span tag :</h4>
<span>
<a href="www.google.com">Google</a>
<a href="www.facebook.com">Facebook</a>
</span>
<a href="www.youtube.com">Youtube</a>
<hr>
<!-- sup Tag -->
<p>
a<sup>2</sup> = b<sup>2</sup> + c<sup>2</sup>
</p>
<!-- sub Tag -->
<p>
H<sub>2</sub>O
</p>
<hr>
<!-- HTML Entites -->
<p>a < b</p>
<p>a > b</p>
<p>a & b</p>
<p>a " b "</p>
<p>This is ★</p>
<p>This is ♥</p>
</body>
</html>