
mengesan ralat 2
Quiz
•
Information Technology (IT)
•
7th Grade
•
Easy
masitah musa
Used 1+ times
FREE Resource
Enhance your content
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.
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Level Two Quiz
Quiz
•
6th - 8th 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
10 questions
Prova PRONATEC
Quiz
•
6th - 8th Grade
10 questions
CSS Progr web
Quiz
•
7th Grade
15 questions
Algoritma dan pemrograman
Quiz
•
7th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
Discover more resources for Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
20 questions
Photosynthesis and Cellular Respiration
Quiz
•
7th Grade
16 questions
Adding and Subtracting Integers
Quiz
•
7th Grade
14 questions
One Step Equations
Quiz
•
5th - 7th Grade
13 questions
Analyze Proportional Relationships and Their Applications
Quiz
•
7th Grade
15 questions
proportional relationships in tables graphs and equations
Quiz
•
7th Grade
