-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHTML.txt
More file actions
306 lines (294 loc) · 7.52 KB
/
HTML.txt
File metadata and controls
306 lines (294 loc) · 7.52 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
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
<!DOCTYPE html>
<html>
<head>
<title>My first web page</title>
</head>
<body>
<h1>This is just some text</h1>
<h2>This is just some text</h2>
<h3>This is just some text</h3>
<h4>This is just some text</h4>
<h5>This is just some text</h5>
<h6>This is just some text</h6>
<p><b>Lorem</b> ipsum dolar sit meat</br> <b>everything</b> is going fine</p>
<img src="html.png" alt="There was supposed to be an image" >
<big><b>This text is big</b></big></br>
<hr width="100%">
<small><b>This text is small</b></small>
<a href="https://www.edureka.co:">This is a link to a website </a>
<h2>These are my favourate cars</h2>
<ol>
<li>BMW</li>
<li>Endevour</li>
<li>Rangerover</li>
<li>Audi A5</li>
<li>Polo</li>
</ol>
<ul>
<h2>These are my favourate heros</h2>
<li>Dq</li>
<li>Tovino</li>
<li>Nivin</li>
<li>Fafa</li>
</ul>
</body>
</html>
//-------------------------------------------------------
<!DOCTYPE html>
<html>
<head>
<title> My first webpage </title>
</head>
<body>
<h1> Registration Form</h1>
<div id="reg-form">
<form action="" method="">
<label for="first name">First Name</label>
<input type="text" name="first name" placeholder="Adhi" required>
<label for="last name">Last Name</label>
<input type="text" name="last name" placeholder="Nair" required>
<div>
<label for="gender male">Male</label>
<input type="radio" name="gender choice" value="choice-1" required>
<label for="gender-female">Female</label>
<input type="radio" name="gender choice" value="choice-2" required>
<label for="gender other">other</label>
<input type="radio" name="gender choice" value="choice-3" required>
</body>
</html>
//-----------------------------------------------------------------------
<!DOCTYPE html>
<html>
<head>
<title> WEBDEV </title>
</head>
<body>
<header>
<div class="main">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Gallery</a></li>
<li><a href="#">Abaut</a></li>
<li><a href="#">Contact</a></li>
</ul>
</div>
</header>
</body>
</html>
//--------------------------------------------------------------
<!DOCTYPE html>
<html>
<head>
<title>Navbar</title>
<style>
body{
margin: 0;
}
.top{
overflow: hidden;
background-color: #333;
}
.top a{
float: left;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 20px;
}
.top a:hover{
background-color: #ddd;
color: black;
}
.top a:active{
background-color: #4caf50;
}
#button:hover{
background-color: white;
color: #BD78D4;
border: 1px;
background-color: #BD78D4;
}
</style>
<script>
function Myalert(){
alert("Hello");
}
</script>
</head>
<body>
<div class="top">
<a href="Navbar.html">Home</a>
<a href="#">Login</a>
<a href="#">About</a>
</div>
<a href="Navbar.html"> </a>
<div id="Line"></div>
</a>
</body>
</html>
//-----------------------------------------------------------
<!DOCTYPE html>
<html>
<head>
<title>Welcome</title>
<style>
body {background-color:darkgray;color: chocolate;}
ul{
margin: 0;
padding: 0;
list-style:none;
height: 36px;
line-height: 36px;
background-color: powderblue;
font-size: 20px;
}
li{
float: left;
border-right: 1px solid;
text-align: center;
}
a{
display:block;
padding: 0 28px;
text-decoration: none;
}
a:hover{
background-color: #156ee2;
}
.active a{
background-color: #156ee2;
}
.abaut a:hover{
color: cornsilk;
}
ul li ul li
{
display: none
}
ul li:hover ul li{
display:block;
}
</style>
</head>
<body>
<ul>
<li class="active"><a href="#">Home</a></li>
<li class="abaut"><a href=# >Abaut Us</a></li>
<li ><a href="#">Services</a></li>
<li ><a href="#">Products</a>
<ul>
<li><a href=#>TV</a></li>
<li><a href=#>Mobiles</a></li>
<li><a href=#>Camera</a></li>
<li><a href=#>Watches</a></li>
</ul>
</li>
<li ><a href="#">Contacts</a></li>
</ul>
</body>
</html>
//-----------------------------------------------
<!DOCTYPE html>
<html>
<head>
<title>Music</title>
<style>
h1{
color: brown;
}
body{
background: whitesmoke;
}
</style>
</head>
<h1>Enjoy the music</h1>
<h2>Select the artist you want</h2>
</head>
<body>
<ol>
<li>Arijith Singh
</li>
<li>Atif Aslam</li>
<li>Arman Malik</li>
</ol>
<img src="C:\Users\adithyan.nair\Downloads/arijith.JFIF" height=120 width=120>
<audio controls>
<source src="C:\Users\adithyan.nair\Music/Hawayein.mp3" type="audio/mpeg">
</audio>
</body>
</html>
//---------------------------------------------------------------------------
<!DOCTYPE html>
<html>
<head>
<title>table creation</title>
</head>
<body>
<table>
<th>Name</th>
<th>Rollno</th>
<th>Result</th>
<tr>
<td> Rahul</td>
<td> 101</td>
<td> Pass</td>
</tr>
<tr>
<td> Rakesh</td>
<td> 102</td>
<td> Pass</td>
</tr>
<tr>
<td> Shwetha</td>
<td> 103</td>
<td> Pass</td>
</tr>
</table>
</body>
</html>
//--------------------------------------------------------------------
<!DOCTYPE html>
<html>
<head>
<title> Form Creation</title>
<style>
body{
background-color:wheat;
}
</style>
</head>
<body>
<form>
<div>
First Name :
<input type="text" placeholder="First Name">
</div>
<div>
Last name:
<input type="text" placeholder="Last Name">
</div>
<div>
username:
<input type="text" placeholder="mailid">
</div>
<div>
password:
<input type="password" placeholder="password">
</div>
<div>
DOB:
<input type="date" placeholder="Day/Date/Year">
</div>
<div>
Gender:
<input type="radio">male
<input type="radio">Female
<input type="radio">Other
</div>
</form>
<button><a href="https://www.google.com">Submit</a></button>
</body>
</html>
//---------------------------------------------------------------------------------------