-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbasic17.html
More file actions
201 lines (153 loc) · 6.21 KB
/
Copy pathbasic17.html
File metadata and controls
201 lines (153 loc) · 6.21 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
<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="أساسيات لغة ترميز النص الفائق اتش.تي.إم.إل | إنشاء صفحة تجميع فيديو"/>
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/x-icon" href="../favicon.png">
<title>HTMLVerse | الأساسيات</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@100..900&display=swap" rel="stylesheet">
</head>
<body>
<header>
<a class="red" href="./index.html#17">X</a>
<h1>أساسيات اتش.تي.إم.إل</h1>
</header>
<main>
<!-- BASIC 17 -->
<div class="box">
<div class="sub-title">
<h2>١٩. إنشاء صفحة تجميع فيديو</h2>
<span class="hint">مختبر</span>
<p>الهدف: استيفاء قصص المستخدم أدناه والحصول على جميع الاختبارات اللازمة لإكمال المختبر</p>
</div>
<section>
<h3>قصص المستخدم :</h3>
<h4>١. يجب أن يكون لديك عنصر رئيسي <code class="br">main</code> باعتباره الطفل <em>child</em> الوحيد لعنصر الجسم <code class="br">body</code>.</h4>
<h4>٢. يجب أن يكون لديك عنصر <code class="br">h1</code> بموضوع <em>topic</em> صفحتك.</h4>
<h4>٣. يجب أن تُقدّم <em>introducing</em> فقرة <strong>paragraph</strong> موضوع صفحتك أسفل عنصر <code class="br">h1</code>.</h4>
<h4>٤. يجب أن يكون لديك ثلاثة أقسام <code class="br">section</code> أسفل فقرتك الأولى.</h4>
<h4>٥. يجب أن يحتوي كل قسم <code class="br">section</code> على عنصر <code class="br">h2</code>، وفقرة <code class="br">p</code>، وعنصر <code class="br">iframe</code>، بهذا الترتيب.</h4>
<h4>٦. يجب أن تحتوي عناصر <code class="br">iframe</code> الثلاثة على سمة <code class="br">src</code> مُعيّنة لفيديو صالح <em>valid video</em>.</h4>
<h4>٧. يجب أن يحتوي كل عنصر <code class="br">iframe</code> على سمة عنوان <code class="br">title</code> لوصف المحتوى المُضمّن <em>embedded content</em>، وسمة ارتفاع <code class="br">height</code> وسمة عرض <code class="br">width</code> لضبط حجم العنصر على الحجم المناسب <em>proper size</em>.</h4>
<h3>الحل :</h3>
<div class="sourcecode">
<pre><span>code <br></span><code>
<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
<meta charset="UTF-8" />
<title>صفحة تجميع فيديو</title>
<meta name="description" content="إنشاء صفحة تجميع فيديو"/>
</head>
<body>
<main>
<h1>صفحة تجميع فيديو</h1>
<p>إنشاء صفحة تجميع فيديو</p>
<section>
<h2>الفيديو الأول</h2>
<p>وصف الفيديو الأول</p>
<iframe
title="video1"
width="300"
height="250"
src="https://www.youtube.com/embed/I0_951_MPE0"
allow="accelerometer autoplay clipboard-write encrypted-media gyroscope web-share"
referrerpolicy="strict-origin-when-cross-origin"
allowfullscreen
>
</iframe>
</section>
<section>
<h2>الفيديو الثاني</h2>
<p>وصف الفيديو الثاني</p>
<iframe
title="video2"
width="300"
height="250"
src="https://www.youtube.com/embed/dQhMwK4W-DI"
allow="accelerometer autoplay clipboard-write encrypted-media gyroscope web-share"
referrerpolicy="strict-origin-when-cross-origin"
allowfullscreen
>
</iframe>
</section>
<section>
<h2>الفيديو الثالث</h2>
<p>وصف الفيديو الثالث</p>
<iframe
title="video3"
width="300"
height="250"
src="https://www.youtube.com/embed/YX17u97k1TU"
allow="accelerometer autoplay clipboard-write encrypted-media gyroscope web-share"
referrerpolicy="strict-origin-when-cross-origin"
allowfullscreen
>
</iframe>
</section>
</main>
</body>
</html>
</code></pre>
</div>
<h3>معاينة :</h3>
<div class="preview" role="presentation">
<h1>صفحة تجميع فيديو</h1>
<p>إنشاء صفحة تجميع فيديو</p>
<section>
<h2>الفيديو الأول</h2>
<p>وصف الفيديو الأول</p>
<iframe
title="video1"
width="300"
height="250"
src="https://www.youtube.com/embed/I0_951_MPE0"
allow="accelerometer autoplay clipboard-write encrypted-media gyroscope web-share"
referrerpolicy="strict-origin-when-cross-origin"
allowfullscreen
>
</iframe>
</section>
<section>
<h2>الفيديو الثاني</h2>
<p>وصف الفيديو الثاني</p>
<iframe
title="video2"
width="300"
height="250"
src="https://www.youtube.com/embed/dQhMwK4W-DI"
allow="accelerometer autoplay clipboard-write encrypted-media gyroscope web-share"
referrerpolicy="strict-origin-when-cross-origin"
allowfullscreen
>
</iframe>
</section>
<section>
<h2>الفيديو الثالث</h2>
<p>وصف الفيديو الثالث</p>
<iframe
title="video3"
width="300"
height="250"
src="https://www.youtube.com/embed/YX17u97k1TU"
allow="accelerometer autoplay clipboard-write encrypted-media gyroscope web-share"
referrerpolicy="strict-origin-when-cross-origin"
allowfullscreen
>
</iframe>
</section>
</div>
</section>
</div>
<!-- Pages -->
<div class="page-nav">
<a class="prev" href="./basic16.html">→ السابق</a>
<a class="next" href="./basic18.html">التالي ←</a>
</div>
</main>
</body>
</html>