-
Notifications
You must be signed in to change notification settings - Fork 0
/
first.html
44 lines (43 loc) · 1.54 KB
/
first.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
<!DOCTYPE html>
<html lang="en">
<!-- below is the header tag which contain title tag and metadata-->
<head>
<title>my first webpage</title>
</head>
<!-- below is the body tag or the container of the webpage contents -->
<body>
<!-- below are the heading & paragraph tags -->
<h1>This is my website and i welcome you</h1>
<h2>This is sub heading</h2>
<h3>this is heading 3</h3>
<p>this is a </br>sample para</p>
<!-- in below case <a> tag is inside <p> tag hence it will all be displayed in single line -->
<p>
for onliine video streaming refer
<a href="https://www.youtube.com/" target="blank">youtube</a>
</p>
<br/>
<p> for coding refer</p>
<a href="https://www.geeksforgeeks.org/">geeksforgeeks</a>
</br><p>this is the link for our second website</p>
<a href="http://127.0.0.1:5500/hello.html">our own website</a> </br>
<p style="color:red"> thank you for visiting </br> this line is added</p>
<img src="Images for web/thank you.jpg" alt="Thank you" height="200" width="200"> </br> <hr>
<!-- hr means horizontal ruler -->
<b>this line is written using BOLD tag</b> </br>
<i> this line is written using i tag</i> </br>
<u> this is an under lined text</u> </br>
<p style="font-size: larger;">
<i>this is an <b>italic text </b> </br> inside the paragraph tag </i> </br>
</p>
<big> this text is big in size</big> </br>
<small> this is smaller text </small>
<p>chemical formula for water is H<sub>2</sub>O and 2<sup>2</sup> is 4</p>
<pre>
now ive got some space
and i can type as i like
now htmlcounts all my spaces
and next line
</pre>
</body>
</html>