Anda di halaman 1dari 12

Dashboard / My courses / Pemrograman Web (Genap 2019-2020) / HTML / Test Kecil 1 - HTML

Started on Saturday, 15 February 2020, 5:41 PM


State Finished
Completed on Saturday, 15 February 2020, 5:50 PM
Time taken 9 mins 5 secs
Marks 29.00/30.00
Grade 7.25 out of 7.50 (97%)

Question 1 Pada elemen <img>, attribute yang digunakan untuk menampilkan label apabila file gambar tidak berhasil ditemukan
Correct …
Mark 1.00 out
of 1.00 Select one:
A. target

B. Src

C. Alt 

D. Title

Your answer is correct.


The correct answer is: Alt

Question 2
Correct

Mark 1.00 out


of 1.00

Kode program yang tepat untuk menghasilkan form elemen dengan label 1 adalah …

Select one:
A. <input type=”text” name=”nama” value=””> 

B. <textarea name=”nama” value=””>

C. <input type=”text” name=”nama” placeholder=”Nama:”>

D. <input:text name=”nama”>

Your answer is correct.


The correct answer is: <input type=”text” name=”nama” value=””>

/
Question 3 Struktur tag <video> yang tepat adalah …
Correct

Mark 1.00 out Select one:


of 1.00
A. <video>
<srcset>
<srcset>
</video>

B. <video>
<lib>
<lib>
</video>

C. <video>
<source>
<source>
</video> 

D. <video>
<src>
<src>
</video>

E. Semua jawaban salah

Your answer is correct.

The correct answer is: <video>


<source>
<source>
</video>

Question 4
Correct

Mark 1.00 out


of 1.00

Yang bukan merupakan tag html yang valid adalah …

Select one:
A. <h1>

B. <p>

C. <music> 

D. <progress>

E. <sup>

Your answer is correct.


The correct answer is: <music>

/
Question 5 Tag HTML yang digunakan untuk mencetak tebal adalah … dan …
Correct

Mark 1.00 out Select one:


of 1.00
A. <b> dan <strong> 

B. <i> dan <em>

C. <strong> dan <mark>

D. <b> dan <mark>

E. <em> dan <mark>

Your answer is correct.

The correct answer is: <b> dan <strong>

Question 6
Correct

Mark 1.00 out


of 1.00

Kode program yang tepat untuk menghasilkan form elemen dengan label 5 adalah …

Select one:
A. <input type=”submit” value=”Simpan”> 

B. <input type=”button” value=”Simpan”>

C. <input type=”button” label=”Simpan”>

D. <input type=”submit” label=”Simpan”>

Your answer is correct.


The correct answer is: <input type=”submit” value=”Simpan”>

Question 7
Correct

Mark 1.00 out


of 1.00

Apabila kita ingin menambahkan gambar kadal.jpg pada index.html, maka filepath yang dapat digunakan adalah …

Select one:
A. folder/kadal.jpg

B. ../kadal.jpg

C. ../folder2/kadal.jpg

D. ../folder/folder2/kadal.jpg 

Your answer is correct.

The correct answer is: ../folder/folder2/kadal.jpg

/
Question 8 HTML special entities yang digunakan untuk mencetak tanda © adalah ..
Correct

Mark 1.00 out Select one:


of 1.00
A. &amp;

B. &copy; 

C. &reg;

D. &copyright;

Your answer is correct.

The correct answer is: &copy;

Question 9 Tag HTML untuk melakukan link ke halaman lain adalah ...
Correct

Mark 1.00 out Select one:


of 1.00
A. <a link=””></a>

B. <a target=””></a>

C. <a href=””></a> 

D. <a src=””></a>

E. <a></a>

Your answer is correct.

The correct answer is: <a href=””></a>

Question 10
Correct

Mark 1.00 out


of 1.00

Kode program yang tepat untuk menghasilkan form elemen dengan label 2 adalah …

Select one:
A. <input type=”password” name=”password” value=””> 

B. <input type=”text” name=”password” value=””>

C. <input type=”text” name=”password” placeholder=”Password:”>

D. <input type=”password” name=”password” placeholder=”Password:”>

Your answer is correct.


The correct answer is: <input type=”password” name=”password” value=””>

/
Question 11 Pernyatan mengenai class dan id dibawah ini yang benar adalah …
Correct

Mark 1.00 out Select one:


of 1.00
A. Class merupakan attribute yang dapat ada lebih dari 1 pada sebuah halaman HTML

B. Class merupakan attribute yang hanya ada 1 pada sebuah halaman HTML

C. Id merupakan attribute yang dapat ada lebih dari 1 pada sebuah halaman HTML

D. Id merupakan attribute yang hanya ada 1 pada sebuah halaman

E. Semua pernyataan salah

F. Pernyataan A dan C benar 

G. Pernyataan B dan D benar

Your answer is correct.

The correct answer is: Pernyataan A dan C benar

Question 12 Format audio yang disupport oleh tag <audio> adalah …


Correct

Mark 1.00 out Select one:


of 1.00
A. MP3

B. OGG

C. WAV

D. Statement A, B dan C benar 

Your answer is correct.

The correct answer is: Statement A, B dan C benar

Question 13 Tag yang digunakan untuk mendefinisikan versi HTML adalah …


Correct

Mark 1.00 out Select one:


of 1.00
A. <!DOCTYPE html> 

B. <html5>

C. <!DOCTYPE html5>

D. Semua jawaban salah

E. <html version=”5”>

Your answer is correct.

The correct answer is: <!DOCTYPE html>

Question 14 Elemen yang berfungsi memberikan informasi mengenai dokumen html adalah...
Correct

Mark 1.00 out Select one:


of 1.00
A. <body>

B. <head> 

C. <title>

D. <html>

E. <!DOCTYPE>

Your answer is correct.

The correct answer is: <head>

/
Question 15
Tag yang tepat untuk membungkus judul “Resep memasak Soto Ayam” adalah …
Correct

Mark 1.00 out


Select one:
of 1.00
A. <h1></h1> 

B. <title></title>

C. <span></span>

D. <p></p>

E. Semua jawaban salah

Your answer is correct.


The correct answer is: <h1></h1>

Question 16
Tag yang tepat dalam resep  untuk membungkus bahan yang dibutuhkan adalah …
Correct

Mark 1.00 out


Select one:
of 1.00
A. <ul> dan <li> 

B. Jawaban benar

C. <ol> dan <li>

D. <p>

E. <dl> dan <dd> dan <dt>

Your answer is correct.

The correct answer is: <ul> dan <li>

Question 17
Correct

Mark 1.00 out


of 1.00

Apabila kita ingin menambahkan gambar cicak.jpg pada index.html, maka filepath yang dapat digunakan adalah …

Select one:
A. ../folder/folder2/../cicak.jpg

B. cicak.jpg

C. ../folder/cicak.jpg

D. folder2/../../cicak.jpg 

Your answer is correct.


The correct answer is: folder2/../../cicak.jpg

/
Question 18 Berikut ini adalah tag-tag HTML5 semantic, kecuali …
Correct

Mark 1.00 out Select one:


of 1.00
A. <header>

B. <div> 

C. <article>

D. <nav>

E. <main>

Your answer is correct.

The correct answer is: <div>

Question 19 Apabila ada tabel seperti gambar dibawah ini,


Correct

Mark 1.00 out


of 1.00

Maka struktur HTML yang benar adalah …

Select one:

A.

B.

C. 

D.

The correct answer is:

/
Question 20 Tag HTML yang digunakan untuk mencetak x2 adalah … , sedangkan untuk mencetak x2 adalah …
Correct

Mark 1.00 out Select one:


of 1.00
A. <sup> dan <top>

B. <sup> dan <sub>

C. <small> dan <big>

D. <sub> dan <sup> 

E. <small> dan <sub>

F. <sub> dan <top>

Your answer is correct.

The correct answer is: <sub> dan <sup>

Question 21
Incorrect

Mark 0.00 out


of 1.00

Teks “oleh ibu saya” akan dituliskan dalam format …

Select one:
A. Bold – Italic

B. Bold

C. Bold - Underline 

D. Underline

E. Italic

Your answer is incorrect.


The correct answer is: Underline

Question 22 HTML special entities yang digunakan untuk mencetak tanda & adalah …
Correct

Mark 1.00 out Select one:


of 1.00
A. &amp; 

B. &lt;

C. &gt;

D. &nbsp;

Your answer is correct.


The correct answer is: &amp;

/
Question 23
Correct

Mark 1.00 out


of 1.00

Pada kode diatas, teks “samping aa” akan muncul di…

Select one:
A. Atas teks ”aa”

B. Samping kiri teks “aa”

C. Samping kanan teks “aa”

D. Bawah teks “aa” 

E. Tidak muncul

Your answer is correct.


The correct answer is: Bawah teks “aa”

Question 24
Correct

Mark 1.00 out


of 1.00

Apabila kita ingin menambahkan gambar kecoa.jpg pada index.html, maka filepath yang dapat digunakan adalah …

Select one:
A. folder2/kecoa.jpg

B. folder/kecoa.jpg

C. ../kecoa.jpg

D. kecoa.jpg 

Your answer is correct.

The correct answer is: kecoa.jpg

/
Question 25 Urutan tag pada struktur HTML yang benar adalah …
Correct

Mark 1.00 out Select one:


of 1.00
A. <!DOCTYPE html>
<html>
<head><title></title></head>
<body></body>
</html> 

B. <!DOCTYPE html>
<html>
<title></title>
<head></head>
<body></body>
</html>

C. <!DOCTYPE html5>
<html>
<head><title></title></head>
<body></body>
</html>

D. Semua jawaban salah

E. <!DOCTYPE html5>
<html>
<head></head>
<body></body>
<foot></foot>
</html>

Your answer is correct.

The correct answer is: <!DOCTYPE html>


<html>
<head><title></title></head>
<body></body>
</html>

Question 26 Perhatikan potongan kode program dibawah ini:


Correct

Mark 1.00 out


of 1.00

Syntax yang tepat untuk melengkapi kode program diatas adalah …

Select one:
A. srcset, srcset, src 

B. src, src, src

C. href, href, src

D. link, link, src

E. Pilihan A, B, C dan D salah

Your answer is correct.

The correct answer is: srcset, srcset, src

/
Question 27 Untuk dapat membuat sebuah baris tabel memiliki lebar 2 kolom menggunakan antribut?
Correct

Mark 1.00 out Select one:


of 1.00
A. Colspan = 2

B. Rowspan = “2”

C. Colspan = “2” 

D. Span = “2”

E. Rowspan = 2

Your answer is correct.

The correct answer is: Colspan = “2”

Question 28 Berikut ini adalah tag html yang valid, kecuali...


Correct

Mark 1.00 out Select one:


of 1.00
A. <footer>

B. <image> 

C. <canvas>

D. <select>

E. <header>

Your answer is correct.

The correct answer is: <image>

Question 29
Correct

Mark 1.00 out


of 1.00

Kode program yang tepat untuk menghasilkan form elemen dengan label 4 adalah …

Select one:
A. <check name=”subscribe” value=”true”>

B. <checkbox name=”subscribe” value=”true”>

C. <input type=”check” name=”subscribe” value=”true”>

D. <input type=”checkbox” name=”subscribe” value=”true”> 

Your answer is correct.


The correct answer is: <input type=”checkbox” name=”subscribe” value=”true”>

/
Question 30 Elemen <a … >link</a>, jawaban yang tepat untuk mengisi titik-titik pada elemen tersebut adalah …
Correct

Mark 1.00 out Select one:


of 1.00
A. href=”path” 

B. src=”path”

C. Alt=”path”

D. link=”path”

Your answer is correct.

The correct answer is: href=”path”

◄ Announcements Jump to... Tes Kecil 2 - CSS ►

Anda mungkin juga menyukai