-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex2.html
More file actions
193 lines (166 loc) · 6.16 KB
/
index2.html
File metadata and controls
193 lines (166 loc) · 6.16 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Welcome!! World</title>
</head>
<body>
<!--Knowledge about HTML Latest version.-->
<!--
XHTML is case-sensitive.
While standard HTML is generally not case-sensitive, XHTML, which is an XML application of HTML, is case-sensitive. This means that in XHTML, tags and attributes must be written in lowercase for proper rendering.
Key points to remember:
HTML (including HTML5): Case-insensitive. You can use uppercase, lowercase, or a mix of both for tags and attributes.
XHTML: Case-sensitive. All tags and attributes must be in lowercase.
Example:
HTML: <p>This is a paragraph.</p> or <P>This is a paragraph.</P> are both valid.
XHTML: <p>This is a paragraph.</p> is valid, but <P>This is a paragraph.</P> is not.
I hope this clarifies the concept of case-sensitivity in HTML and XHTML!
-->
<!-- Content goes here -->
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
<!-- Heading Tags -->
<p>This is a Paragraph.</p><br>
<strong>Bold text</strong><br>
<em>Italic text</em><br>
<small>Small text</small><br>
<mark>Highlighted Text</mark><br>
<del>Deleted text</del><br>
<ins>Inserted text</ins><br>
<sub>Subscript Text</sub><br>
<sup>Superscript text</sup><br>
<!-- Tags some inline -->
<!-- Un-Ordered List: -->
Un-Ordered List:
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul><br>
<!-- Ordered List: -->
Ordered List:
<ol>
<li>First Item</li>
<li>Second Item</li>
<li>Third Item</li>
</ol><br>
<!-- Description List: -->
<dl>
<dt>Item 1</dt>
<dd>Description 1</dd>
<dt>Item 2</dt>
<dd>Description 2</dd>
</dl><br>
<!--Details List and Overfall-->
<details>
<summary>Summary</summary>
<p>Details</p>
<!--Details List and Overfall-->
</details><br>
<!-- Links: -->
<a href="www.linkedin.com/in/dearpratipal">This is a Link</a>
<a href="www.linkedin.com/in/dearpratipal" target="_blank">Open in new tab</a>
<a href="www.linkedin.com/in/dearpratipal">Send Email</a>
<a href="#section1">Jump to section 1</a><br>
<!-- Images: -->
<img src="/_Source_Content/img4.png" alt="This is a images.">
<img src="/_Source_Content/img7.png" alt="Description" width="300" height="200"><br>
<table>
<tr>
<td>Header 1</td>
<td>Header 2</td>
</tr>
<tr>
<td>Row 1, Cell 1</td>
<td>Row 1, Cell 2</td>
</tr>
<tr>
<td>Row 2, Cell 1</td>
<td>Row 2, Cell 2</td>
</tr>
</table><br>
<!-- Table is good! -->
<!-- Form Creation -->
<form action="/submit-form" method="post">
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
<input type="submit" value="submit">
</form><br>
<!-- Input Types: -->
<input type="text" id="text" name="text" placeholder="Text Input"><br>
<input type="password" id="pwd" name="pwd" placeholder="Password"><br>
<input type="email" id="email" name="email" placeholder="email"><br>
<input type="number" id="number" name="number" placeholder="Number Input"><br>
<input type="date" id="date" name="date" placeholder="Enter Date."><br>
<input type="checkbox" id="check" name="check" placeholder="Checkit">Check Me!<br>
<input type="radio" id="radio" name="radio" placeholder="Radio Button" value="male">male
<input type="radio" id="radio2" name="radio" placeholder="Radio Button" value="female">female<br>
<input type="file" id="file" name="file" placeholder="File Input">
<input type="file" id="fileUpload" title="Choose a file to upload"><br>
<input type="submit" name="submit" id="submit" value="submit">
<input type="reset" value="reset">
<input type="button" value="Click me">
<!-- Semematic Elements -->
<header>
<!-- Header Content -->
</header>
<nav>
<!-- Navigation Link -->
</nav>
<main>
<!-- Main Content -->
</main>
<article>
<!-- Article content -->
</article>
<section>
<!-- section content -->
</section>
<aside>
<!-- Sidebar Section -->
</aside>
<footer>
<!-- Footer Content -->
</footer>
<!-- Media Tag -->
<audio controls>
<source src="/_Source_Content/Audio1.mp3" type="audio/mp3">
Your browser does not support the audio tag.
</audio>
<!-- <audio src="/_Source_Content/Audio1.mp3" type="audio/mpeg">
Your browser does not support the audio tag.
</audio> -->
<video width="320" height="240" controls>
<source src="/_Source_Content/Video2.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<!-- <video src="/_Source_Content/Video1.mp4" type="video/mp4">
Your browser does not support the video tag.
</video> -->
<!-- Block and Inline Elements -->
Block Elements:
<div>This is a block Elements.: div tag</div>
<article>This is a block element.: article tag</article>
<section>This is a block element.: section tag</section>
<header>This is a block element: Header Tag</header><br>
Inline Elements:
<span>This is an inline element.: span tag</span>
<b>This is an inline element.: b tag</b>
<i>This is an inline element.: i tag</i>
<q>This is an inline element.: q tag</q>
<u>This is an inline element.: u tag</u>
<a href="#">This is an inline element.</a>
<strong>This is an inline element.</strong>
<em>This is an inline element.</em>
<mark>This is Highlighted text.</mark>
<address>I'm from India, I'm INDIAN. Jai Hind </address>
</body>
</html>