
mengesan ralat 2
Authored by masitah musa
Information Technology (IT)
7th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Soalan: Apakah ralat yang terdapat dalam html berikut?
<html>
<body>
<h1>Selamat Datang ke Sekolah Bestari<h1>
<p>Kami mempunyai banyak aktiviti menarik</p>
</body>
</html>
kesilapan pada tag <h1>
kesilapan pada tag <p>
kesilapan pada tag <html>
kesilapan pada tag <body>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apakah ralat pada kod html berikut?
<html>
<head>
<title>Kelas 1 Amanah</title>
</head>
<body>
<h2>Senarai Murid</h2>
</body>
kesilapan pada tag <html>
kesilapan pada tag <body>
kesilapan pada tag <title>
kesilapan pada tag <title>
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apakah kesilapan yang terdapat dalam kod di bawah?
<html>
<head>
<title>Kelas 1 Amanah</title>
<body>
<h2>Senarai Murid</h2>
<ol>
<li>Ali</li>
<li>Farah</li>
</ol>
</body>
</html>
Tag <head> tidak ditutup sebelum tag <body>.
Tag <ol> tidak mempunyai penutup </ol>.
Tag <html> tidak mempunyai penutup </html>.
Tiada ralat dalam kod tersebut.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apakah kesilapan pada kod html berikut?
<body>
<h2>Acara Sukan Tahunan</h2>
<p>Tarikh: 10 Oktober 2025</p>
<p>Tempat: Padang sekolah</p>
<a href=www.sekolahbestari.edu.my>Layari laman rasmi</a>
</body>
Tag <a> tidak ditutup dengan </a>.
Tag <body> tidak ditutup dengan betul.
Atribut href tidak disertakan dengan tanda petik " " dan tiada https:// dalam pautan.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apakah kesilapan pada kod html berikut?
<html>
<head>
<title>Kantin Sekolah</title>
</head>
<body>
<h1>Menu Hari Ini</h1>
<ul>
<li>Nasi Lemak</li>
<li>Roti Canai</li>
<li>Teh Ais
</ul>
</body>
</html>
Tag <ul> tidak mempunyai penutup </ul>.
Tag <li> bagi “Teh Ais” tidak ditutup dengan </li>.
Tag <title> diletakkan di luar bahagian <head>.
Tag <h1> tidak mempunyai penutup </h1>.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apakah kesalahan yang terdapat pada kod html di bawah:
<body>
<h1>Haiwan di Zoo Negara</h1>
<img src="harimau.jpg alt="Harimau">
<img src="gajah.jpg" alt="Gajah">
</body>
Tag <img> mesti ditutup dengan </img>.
Fail imej harimau.jpg tidak wujud (nama fail salah).
Atribut alt tidak diperlukan dan perlu dibuang.
Atribut src bagi imej pertama hilang tanda petik penutup — menyebabkan alt tercampur dalam atribut src.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apakah kesalahan kod html berikut:
<html>
<head>
<title>Kelas Sains Komputer</title>
</head>
<body>
<h2>Topik Hari Ini</h2>
<pr>Pengaturcaraan asas</pr>
</body>
</html>
Tag <pr> tidak wujud dalam HTML — sepatutnya <p>.
Tag <h2> tidak mempunyai penutup </h2>.
Tag <title> sepatutnya berada dalam <body>.
Tag <html> mesti ditulis dalam huruf besar.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Prova PRONATEC
Quiz
•
6th - 8th Grade
10 questions
CSS Progr web
Quiz
•
7th Grade
10 questions
Level Two Quiz
Quiz
•
6th - 8th Grade
10 questions
Berfikir Komputasional dan Literasi Digital
Quiz
•
7th Grade
10 questions
Počítačová grafika
Quiz
•
6th Grade - University
10 questions
JS Quiz
Quiz
•
6th Grade - University
10 questions
Code HS 8.13 CSS Select by ID
Quiz
•
7th Grade
15 questions
Preview Test kelas 7
Quiz
•
7th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Information Technology (IT)
22 questions
distributive property
Quiz
•
7th Grade
18 questions
Angle Relationships
Quiz
•
7th Grade
10 questions
Understanding Poetry and Literary Devices
Interactive video
•
4th - 8th Grade
20 questions
How Some Friendships Last — and Others Don’t Video Questions
Quiz
•
7th Grade
18 questions
Handbook Refresher Quiz
Quiz
•
7th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade