-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsecond.html
More file actions
114 lines (86 loc) · 3.27 KB
/
second.html
File metadata and controls
114 lines (86 loc) · 3.27 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TagsForHTML</title>
</head>
<body>
<!--creates a hyperlink-->
<a href="www.google.com">Google</a>
<!-- Used for any atricle like in blogs -->
<article>
Information
</article>
<!-- Used for aside any information -->
<aside>Lorem ipsum dolor sit amet consectetur adipisicing elit. Ipsa, minus!</aside>
<!-- used for any audio files -->
<audio controls src="t-rex-roar.mp3"></audio>
<!-- For making text bold -->
<b>hello world</b>
<!--Used for quoting -->
<blockquote cite="https://www.huxley.net/bnw/four.html">
Words can be like X-rays, if you use them properly—they'll go through
anything. You read and your'e pierced.
</blockquote>
<p>—Aldous Huxley, <cite>Brave New World</cite></p>
<!-- used for line break(but not recommended) -->
<br>hii everyone <br>
<!-- Displaying a button -->
<button class="favorite styled" type="button">Add to favorites</button>
<!-- Text in computer code font -->
<code>
It is used for showing real coding texts
</code>
<br>
<!-- To show details in hidden mode -->
<details>
<summary>Details</summary>
Something small enough to escape casual notice.
</details>
<!--It is the generic container for flow content -->
<div>
<h3>hello</h3>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Fugit, quibusdam.</p>
</div>
<!-- used to write with more stress(italic) -->
<em>Why am i doing this?</em>
<!-- used to embed someting from other web to our web -->
<embed type="video/mp4" src="/shared-assets/videos/flower.mp4" width="250" height="200" />
<!-- form tag is important -->
<form action="" method="get" class="form-example">
<div class="form-example">
<label for="name">Enter your name: </label>
<input type="text" name="name" id="name" required />
</div>
<div class="form-example">
<label for="email">Enter your email: </label>
<input type="email" name="email" id="email" required />
</div>
<div class="form-example">
<input type="submit" value="Subscribe!" />
</div>
</form>
<!-- for headings -->
<h1>Hello</h1>
<h2>Hello</h2>
<h3>Hello</h3>
<h4>Hello</h4>
<h5>Hello</h5>
<h6>Hello</h6>
<!-- head contains machine readable info like metadata -->
<!-- see example at the top of file -->
<!-- the <html> is the root element -->
<!-- it is used to embedding another HTML page into the current one-->
<iframe id="inlineFrameExample" title="Inline Frame Example" width="300" height="200"
src="https://www.openstreetmap.org/export/embed.html?bbox=-0.004017949104309083%2C51.47612752641776%2C0.00030577182769775396%2C51.478569861898606&layer=mapnik">
</iframe>
<!--it is used an image to your webpage -->
<img class="fit-picture" src="/shared-assets/images/examples/grapefruit-slice.jpg"
alt="Grapefruit slice atop a pile of other slices" />
<!--input tag is used to take input from user -->
<!--label represents a caption for an item in a user interface -->
<label for="name">Name (4 to 8 characters):</label>
<input type="text" id="name" name="name" required minlength="4" maxlength="8" size="10" />
</body>
</html>