-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathHtml_tag.txt
209 lines (117 loc) · 2.85 KB
/
Html_tag.txt
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
#List of HTML Tags
#HTML Structure
<!DOCTYPE html>
<html>
<head>
<meta>
<title></title>
</head>
<body>
<h1>Heading</h1>
</body>
</html>
#Headings
<h1></h1>
<h2></h2>
<h3></h3>
<h4></h4>
<h5></h5>
<h6></h6>
#Paragraph
<p></p>
#Comments
<!--
This is the Comments
-->
#Horizontal Lines
<hr>
#Line Breaks
<br>
#Text Formatting
Strong:
<strong></strong>
Bold:
<b></b>
Empahsis:
<em></em>
Underline:
<u></u>
Italics:
<i></i>
#Blockquote:
<blockquote></blockquote>
#Pre
Format: <pre></pre>
#Code
Computer Code: <code></code>
#Lists
Definition List:
<dl><dt></dt><dd></dd></dl>
Ordered List:
<ol><li></li></ol>
UnOrdered List:
<ul><li></li></ul>
#Link
Link Pages:
<a href="page.html">Page 1</a>
Anchor Tag:
<a name="top"></a>
Anchor Tag:
<a href="#top"></a>
#Articles
<section>
<article>
<header>Article Header</header>
<p>Article Content</p>
<footer>Article Footer</footer>
</article>
</section>
#Table
<table>
<tr>
<th>Column Name 1</th>
<th>Column Name 2</th>
</tr>
<tr>
<td>Content 1</td>
<td>Content 2</td>
</tr>
</table>
#Embed
Image: <img src="imagename.jpg" width = "250px" height="250px" />
#Video:
<video width="320" height="240" controls>
<source src="videoname.mp4" type="video/mp4">Having issue with the Video?
</video>
#Audio:
<audio controls autoplay>
<source src="Audioname.mp3" type="audio/mpeg">
The browser does not support this audio format.
</audio>
#Form
<form method="get" action="results.html">
<label for="FirstName">FirstName: </label>
<input type="text" name="FirstName" placeholder="Enter your First Name" id="FirstName"/>
<label for="LastName">LastName: </label>
<input type="text" name="LastName" placeholder="Enter your Last Name" id="LastName"/>
<input type="submit" />
<input type="reset" value="Clear Form"/>
</form>
#Div
<div></div>
#Span
<span></span>
#HTML Entities
Starts with & and ends with ;
&
<
>
#iFrames
<iframe src="page2.html" height="300" name="content-frame"></iframe>
<a href="About.html" target="content-frame">About</a>
#Layout
<header></header>
<nav></nav>
<aside></aside>
<main></main>
<footer></footer>