-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpractical_3.html
More file actions
44 lines (39 loc) · 1.34 KB
/
Copy pathpractical_3.html
File metadata and controls
44 lines (39 loc) · 1.34 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
<style>
.red {
color: red;
}
.blue {
color: blue;
}
#light {
color: teal;
}
</style>
</head>
<body>
<h2 class="red">Practical-3 : Create a Web Page showing a basic HTML structure using character Entities and span Tag</h2>
<h1>Output :</h1>
<div>
<pre>
<!DOCTYPE <span class="red">html</span>>
<html <span class="red">lang</span>=<span class="blue">"en"</span>>
<head>
<meta <span class="red">charset</span>=<span class="blue">"UTF‐8"</span>>
<meta <span class="red">name</span>=<span class="blue">"viewport"</span> <span class="red">content</span>=<span class="blue">"width=device‐width, initial‐scale=1.0"</span>>
<title>Document</title>
</head>
<body>
<span id="light"><!‐‐ this is html comment ‐‐></span>
Write your content here.....
</body>
</html>
</pre>
</div>
</body>
</html>