-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
101 lines (99 loc) · 3.41 KB
/
index.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
94
95
96
97
98
99
100
101
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Learning_Document</title>
</head>
<body>
<!-- If we need to display anything on our webpage, we need to write in body tag only(Mandatory) -->
<h1>Header one</h1>
<h2>Header two</h2>
<h3>Header three</h3>
<h4>Header four</h4>
<h5>Header five</h5>
<h6>Header six</h6>
<!-- lorem5*3 means 5words in each of the 3 lines,
lorem10 means 10 words text is displayed -->
<p>Lorem ipsum dolor sit amet. In accusantium provident doloremque</p>
<!-- For new html version only i.e html5 (instead of b tag in old html) -->
<strong
>Lorem ipsum dolor sit amet consectetur adipisicing elit. Tenetur sequi
debitis nulla? Delectus corporis expedita mollitia labore libero minima </strong
><br /><br />
<!-- For Italic in new version instead of i in old html -->
<em
>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Quidem illum ab </em
><br />
<!-- To highlight text -->
<mark>I am Uday</mark><br />
<!-- To differentiate from normal text -->
<code>
var i=10;<br />
console.log(i); </code
><br />
<!-- <br> breaks the line: is an empty element, no closing tag(can also have) and no content -->
<!-- <hr> adds horizontal line -->
<!-- To display footer and header i.e copy rights in small letters -->
<small>All rights reserved:</small>
<!-- For subscript and superscript -->
<p>A<sup>2</sup><sub>2</sub></p>
<!-- To say that its not available now,i.e its been deleted or to say it is an older version -->
<del>This is deprecated</del>
<!-- Underline in newer version instead of u -->
<ins>This is newly added</ins>
<!-- For writing title of a book instead of em..in HTML-5-->
<cite>CORMEN</cite>
<p>The quote says,<cite><q>excess of anything is dangerous</q></cite></p>
For abbrevation:
<p>The <abbr title="World Wide Web Consortium">w3C</abbr> is the main organization.</p>
<p>Here is my Address:
<address>Richmond Road <br> Lake view <br> Chicago</address>
</p>
<!-- We can add more spaces with ( )Not a good practice to use more often -->
<label>I am uday</label>
<label>I am Kumar</label><br>
<!-- Target is for opening the link in the new tab -->
<a href="https://angular.io/" target="_blank">Angular</a><br>
<a href="https://reactjs.org/" target="_blank">React</a><br>
<a href="https://vuejs.org/" target="_blank">Vue</a><br><br>
<img src="https://picsum.photos/id/237/200/300" alt="Cute_dog"><br><br>
<img src="images/random.jpg" alt="Random_Image"><br>
<ul>
<li>Red</li>
<li>Green</li>
<li>Blue</li>
</ul>
<ul style="list-style: none;">
<li>Red</li>
<li>Green</li>
<li>Blue</li>
</ul>
<ol>
<li>laptop</li>
<li>mobile</li>
<li>tablet</li>
</ol>
<ol type="a">
<li>laptop</li>
<li>mobile</li>
<li>tablet</li>
</ol>
<ol type="A">
<li>laptop</li>
<li>mobile</li>
<li>tablet</li>
</ol>
<ol type="I">
<li>laptop</li>
<li>mobile</li>
<li>tablet</li>
</ol>
<ol type="i">
<li>laptop</li>
<li>mobile</li>
<li>tablet</li>
</ol>
</body>
</html>