wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Quiz Web

Total questions: 13

Worksheet time: 33mins

Name
Class
Date
1.

Apa singkatan dari HTML

a)

Hyper text Mask Language

b)

Hyper Test Markup Language

c)

Hide text Markup Language

d)

Hypertext Markup Language

2.

Element dasar HTML adalah

a)

Head

b)

Body

c)

Br

d)

Script

3.

Berikut Software yang digunakan untuk editor web, kecuali

a)

Chrome

b)

Visual Studio

c)

Notepad

d)

Dreamweaver

4.

Tag untuk teks sedikit kebawah dari baris normal

a)

<sub>

b)

<sup>

c)

<br>

d)

<big>

5.

"&copy;" merupakan karakter khusus

a)

®

b)

c)

d)

©

6.

Dalam dokumen HTML ekstension  file image yang digunakan  gif, jpeg, pcx, png, wmf, dan bmp.

Contoh tag untuk ekstension file gambar adalah

a)

<img src=image/me.jpg width=125  height=150 border=2  alt="my picture" title="Taj'Mahal">

b)

<img image/me.jpg width=125  height=150 border=2  alt="my picture" title="Taj'Mahal">

c)

<img scr=image/me.jpg width=125  height=150 border=2  alt="my picture" title="Taj'Mahal">

d)

<img me.jpg width=125  height=150 border=2  alt="my picture" title="Taj'Mahal">

7.

Contoh tag hyperlink realtive adalah

a)

<a href=”perpustakaan.html”>Ruang Baca</a>

c)
d)

<a href=”#pengenalan”>Pengenalan</a>

8.

Contoh tag hyperlink absolute adalah

a)

<a href=”perpustakaan.html”>Ruang Baca</a>

c)
d)

<a href=”#pengenalan”>Pengenalan</a>

9.

{font-family: “Times New Roman”, “Courier New”, "Arial","Tahoma"}. dari script berikut maka font yang akan tampil paling awal adalah .....

a)

Courier New

b)

Times New Roman

c)

Arial

d)

Tahoma

10.

Berikut ini script php yang benar adalah

a)

<?php

 

$koneksi = mysqli_connect("localhost","root","","akademik");

 

// Check connection

if (mysqli_connect_errno()){

            echo "Koneksi database gagal : " . mysqli_connect_error();

}

 

?>

b)

<?php

 

$koneksi = mysqli_connect("localhost","root","","akademik")

 

// Check connection

if (mysqli_connect_errno()){

            echo "Koneksi database gagal : " . mysqli_connect_error()

}

 

?>

c)

<html>

 

$koneksi = mysqli_connect("localhost","root","","akademik");

 

// Check connection

if (mysqli_connect_errno()){

            echo "Koneksi database gagal : " . mysqli_connect_error();

}

 

</html>

d)

<?php

 

$koneksi = mysqli_connect("localhost","root","","akademik")

 

// Check connection

if (mysqli_connect_errno()){

            echo "Koneksi database gagal : " . mysqli_connect_error();

}

 

?>

11.

Penulisan script yang benar dari gambar di atas adalah .....

a)

<style>

#myHeader {

   background-color : lightblue;    color : black;    padding : 40px;    text-align: center;

}

</style>

<h1 >My Header</h1>

b)

<style>

#myHeader {

   background-color : lightblue;    color : black;    padding : 40px;    text-align: center;

}

</style>

<h1 id=”myHeader”>My Header</h1>

c)

<style>

#myHeader {

   background-color : lightblue;    color : black;    padding : 40px;    text-align: center;

}

</style>

<h1 id=”MyHeader”>My Header</h1>

d)

<style>

#MyHeader {

   background-color : lightblue;    color : black;    padding : 40px;    text-align: center;

}

</style>

<h1 id=”myHeader”>My Header</h1>

12.

Berikut adalah contoh variabel yang di gunakan pada php

a)

$koneksi = mysqli_connect("localhost","root","","akademik");

b)

koneksi = mysqli_connect("localhost","root","","akademik");

c)

koneksi$ = mysqli_connect("localhost","root","","akademik")

d)

var koneksi = mysqli_connect("localhost","root","","akademik");

13.

type file yang digunkan menyimpan file css adalah

a)

.css

b)

.php

c)

.html

d)

.txt