-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
103 lines (84 loc) · 2.79 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
102
103
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<!-- Emmet code : p>p>p -->
<p>
<p>
<p>this is para.</p>
</p>
</p>
<!-- Emmet code : article+section -->
<article></article>
<section></section>
<!-- Emmet code : p>h1 -->
<p>
<h1>this is heading</h1>
</p>
<!-- Emmet code : p{hello ji}-->
<p>hello ji</p>
<!-- Emmet code : p>lorem5 -->
<p>Lorem ipsum dolor sit amet.</p>
<!-- Emmet code : p>a -->
<p><a href=""></a></p>
<!-- Emmet code : p#para1 -->
<p id="para1"></p>
<!-- Emmet code : article#article1 -->
<article id="article1"></article>
<!-- Emmet code : p.para -->
<p class="para"></p>
<!-- Emmet code : article.dog -->
<article class="dog"></article>
<!-- Emmet code : section.dog.cat.cow -->
<section class="dog cat cow"></section>
<!-- Emmet code : ul>li*3 -->
<ul>
<li>A</li>
<li>B</li>
<li>C</li>
</ul>
<!-- Emmet code : table>tr>td*2 -->
<table>
<tr>
<td>I</td>
<td>II</td>
</tr>
<tr>
<td>III</td>
<td>IV</td>
</tr>
<tr>
<td>V</td>
<td>VI</td>
</tr>
</table>
<div style="background-color: rgb(255, 115, 0);">Hello ji (it's Block Element)</div>
<div style="background-color: rgb(255, 0, 149);">Hello jiiii (it's also Block Element)</div>
<span style="background-color: yellow;">This is me (it's an inline element)</span>
<span style="background-color: rgb(0, 187, 255);">This is meee (it's also an inline element)</span>
<p style="background-color: aqua; display:inline">First para (it's become inline element by just putting display as inline)</p>
<p style="background-color: aqua;">Second para</p>
<!-- Emmet Code : nav>ul>(li>a)*4 -->
<nav>
<ul>
<li><a href="https://www.google.com">Google</a></li>
<li><a href="https://www.github.com/kishanrajput23">Github</a></li>
<li><a href="https://www.flipkart.com">Flipkart</a></li>
<li><a href="https://www.amazon.com">Amazon</a></li>
</ul>
</nav>
<!-- Displaying items in line -->
<nav>
<ul>
<li style="display: inline;"><a href="https://www.google.com">Google</a></li>
<li style="display: inline;"><a href="https://www.github.com/kishanrajput23">Github</a></li>
<li style="display: inline;"><a href="https://www.flipkart.com">Flipkart</a></li>
<li style="display: inline;"><a href="https://www.amazon.com">Amazon</a></li>
</ul>
</nav>
</body>
</html>