Anda di halaman 1dari 11

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

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


State Finished
Completed on Saturday, 15 February 2020, 6:02 PM
Time taken 10 mins 42 secs
Marks 30.00/30.00
Grade 7.50 out of 7.50 (100%)

Question 1 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 2
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. Bawah teks “aa” 

D. Samping kanan teks “aa”

E. Tidak muncul

Your answer is correct.


The correct answer is: Bawah teks “aa”

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

Mark 1.00 out Select one:


of 1.00
A. <!DOCTYPE html5>
<html>
<head></head>
<body></body>
<foot></foot>
</html>

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

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

D. Semua jawaban salah

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

Your answer is correct.

The correct answer is: <!DOCTYPE html>


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

Question 4
Correct

Mark 1.00 out


of 1.00

Yang bukan merupakan tag html yang valid adalah …

Select one:
A. <progress>

B. <p>

C. <sup>

D. <h1>

E. <music> 

Your answer is correct.


The correct answer is: <music>

/
Question 5 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. Rowspan = “2”

E. Span = “2”

Your answer is correct.

The correct answer is: Colspan = “2”

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=”submit” label=”Simpan”>

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

Your answer is correct.


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

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

Mark 1.00 out Select one:


of 1.00
A. <b> dan <mark>

B. <b> dan <strong> 

C. <strong> dan <mark>

D. <em> dan <mark>

E. <i> dan <em>

Your answer is correct.


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

/
Question 8
Correct

Mark 1.00 out


of 1.00

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

Select one:
A. <input type=”radio” name=”jenis-kelamin” value=”L”> 

B. <input type=”radiobox” name=”jenis-kelamin” value=”P”>

C. <radiobox name=”jenis-kelamin” value=”L”>

D. <radio name=”jenis-kelamin” value=”P”>

Your answer is correct.


The correct answer is: <input type=”radio” name=”jenis-kelamin” value=”L”>

Question 9 Struktur tag <video> yang tepat adalah …


Correct

Mark 1.00 out Select one:


of 1.00
A. Semua jawaban salah

B. <video>
<srcset>
<srcset>
</video>

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

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

E. <video>
<lib>
<lib>
</video>

Your answer is correct.


The correct answer is: <video>
<source>
<source>
</video>

/
Question 10 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 11
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. folder2/../../cicak.jpg 

C. cicak.jpg

D. ../folder/cicak.jpg

Your answer is correct.


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

Question 12 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. Src

B. target

C. Alt 

D. Title

Your answer is correct.


The correct answer is: Alt

Question 13
Tag yang tepat untuk membungkus langkah-langkah memasak adalah …
Correct

Mark 1.00 out


Select one:
of 1.00
A. Jawaban benar

B. <p>

C. <ol> dan <li> 

D. <ul> dan <li>

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

Your answer is correct.

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

/
Question 14
Correct

Mark 1.00 out


of 1.00

Tag yang digunakan untuk memberikan enter pada HTML adalah …

Select one:
A. <p>

B. <br> 

C. <insert>

D. <frame>

E. <tr>

Your answer is correct.


The correct answer is: <br>

Question 15 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.

Your answer is correct.


The correct answer is:

Question 16
Correct
Kode program yang tepat untuk menghasilkan form elemen dengan label 4 adalah …
Mark 1.00 out
of 1.00
Select one:
A. <input type=”checkbox” name=”subscribe” value=”true”> 

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

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

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

Your answer is correct.

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

/
Question 17 Apabila ada tag <p class=”article”>Lorem Ipsum</p>, maka pernyataan yang benar di bawah ini adalah …
Correct

Mark 1.00 out Select one:


of 1.00
A. Semua pernyataan salah 

B. <p class=”article”> merupakan attribute

C. Lorem Ipsum Adalah property value dari elemen tersebut

D. Elemen diatas dari <p class=”article”> dan </p>

E. Elemen tersebut memiliki nilai attribute p

Your answer is correct.

The correct answer is: Semua pernyataan salah

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

Mark 1.00 out


Select one:
of 1.00
A. <title></title>

B. <h1></h1> 

C. <p></p>

D. <span></span>

E. Semua jawaban salah

Your answer is correct.


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

Question 19
Correct
Apabila kita ingin menambahkan gambar kecoa.jpg pada index.html, maka filepath yang dapat digunakan adalah …
Mark 1.00 out
of 1.00
Select one:
A. folder/kecoa.jpg

B. kecoa.jpg 

C. ../kecoa.jpg

D. folder2/kecoa.jpg

Your answer is correct.

The correct answer is: kecoa.jpg

Question 20 Elemen <img … />, jawaban yang tepat untuk mengisi titik-titik pada elemen tersebut adalah …
Correct

Mark 1.00 out Select one:


of 1.00
A. link=”path

B. href=”path”

C. src=”path” 

D. alt=”path”

Your answer is correct.

The correct answer is: src=”path”

/
Question 21 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 22 Elemen yang berfungsi memberikan informasi mengenai dokumen html adalah...
Correct

Mark 1.00 out Select one:


of 1.00
A. <title>

B. <!DOCTYPE>

C. <head> 

D. <html>

E. <body>

Your answer is correct.

The correct answer is: <head>

Question 23 Pada HTML, komentar dituliskan dengan tag …


Correct

Mark 1.00 out Select one:


of 1.00
A. /* komentar */

B. // komentar //

C. <!-- komentar --> 

D. <!-- komentar --!>

E. Semua jawaban salah

Your answer is correct.

The correct answer is: <!-- komentar -->

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

Mark 1.00 out Select one:


of 1.00
A. &gt;

B. &lt;

C. &nbsp;

D. &amp; 

Your answer is correct.

The correct answer is: &amp;

/
Question 25 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. link=”path”

B. href=”path” 

C. src=”path”

D. Alt=”path”

Your answer is correct.

The correct answer is: href=”path”

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

Mark 1.00 out Select one:


of 1.00
A. <a></a>

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

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

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

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

Your answer is correct.

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

Question 27
Correct
Apabila kita ingin menambahkan gambar kadal.jpg pada index.html, maka filepath yang dapat digunakan adalah …
Mark 1.00 out
of 1.00
Select one:
A. ../kadal.jpg

B. ../folder2/kadal.jpg

C. folder/kadal.jpg

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

Your answer is correct.


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

Question 28 Berikut ini adalah tag-tag HTML5 semantic, kecuali …


Correct

Mark 1.00 out Select one:


of 1.00
A. <div> 

B. <header>

C. <article>

D. <main>

E. <nav>

Your answer is correct.


The correct answer is: <div>

/
Question 29
Correct
Kode program yang tepat untuk menghasilkan form elemen dengan label 1 adalah …
Mark 1.00 out
of 1.00
Select one:
A. <input:text name=”nama”>

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

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

D. <input type=”text” name=”nama” value=””> 

Your answer is correct.


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

Question 30
Correct
Kode program yang tepat untuk menghasilkan form elemen dengan label 2 adalah …
Mark 1.00 out
of 1.00
Select one:
A. <input type=”text” name=”password” value=””>

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

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

D. <input type=”password” name=”password” value=””> 

Your answer is correct.

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

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

Anda mungkin juga menyukai