WorksheetsQuiz Web
Total questions: 13
Worksheet time: 33mins
Apa singkatan dari HTML
Hyper text Mask Language
Hyper Test Markup Language
Hide text Markup Language
Hypertext Markup Language
Element dasar HTML adalah
Head
Body
Br
Script
Berikut Software yang digunakan untuk editor web, kecuali
Chrome
Visual Studio
Notepad
Dreamweaver
Tag untuk teks sedikit kebawah dari baris normal
<sub>
<sup>
<br>
<big>
"©" merupakan karakter khusus
®
™
©
Dalam dokumen HTML ekstension file image yang digunakan gif, jpeg, pcx, png, wmf, dan bmp.
Contoh tag untuk ekstension file gambar adalah
<img src=image/me.jpg width=125 height=150 border=2 alt="my picture" title="Taj'Mahal">
<img image/me.jpg width=125 height=150 border=2 alt="my picture" title="Taj'Mahal">
<img scr=image/me.jpg width=125 height=150 border=2 alt="my picture" title="Taj'Mahal">
<img me.jpg width=125 height=150 border=2 alt="my picture" title="Taj'Mahal">
Contoh tag hyperlink realtive adalah
<a href=”perpustakaan.html”>Ruang Baca</a>
<a href="http://www.google.com">Google</a>
<a href=”mailto:endar_nirmala@yahoo.com”>kirim email</a>
<a href=”#pengenalan”>Pengenalan</a>
Contoh tag hyperlink absolute adalah
<a href=”perpustakaan.html”>Ruang Baca</a>
<a href="http://www.google.com">Google</a>
<a href=”mailto:endar_nirmala@yahoo.com”>kirim email</a>
<a href=”#pengenalan”>Pengenalan</a>
{font-family: “Times New Roman”, “Courier New”, "Arial","Tahoma"}. dari script berikut maka font yang akan tampil paling awal adalah .....
Courier New
Times New Roman
Arial
Tahoma
Berikut ini script php yang benar adalah
<?php
$koneksi = mysqli_connect("localhost","root","","akademik");
// Check connection
if (mysqli_connect_errno()){
echo "Koneksi database gagal : " . mysqli_connect_error();
}
?>
<?php
$koneksi = mysqli_connect("localhost","root","","akademik")
// Check connection
if (mysqli_connect_errno()){
echo "Koneksi database gagal : " . mysqli_connect_error()
}
?>
<html>
$koneksi = mysqli_connect("localhost","root","","akademik");
// Check connection
if (mysqli_connect_errno()){
echo "Koneksi database gagal : " . mysqli_connect_error();
}
</html>
<?php
$koneksi = mysqli_connect("localhost","root","","akademik")
// Check connection
if (mysqli_connect_errno()){
echo "Koneksi database gagal : " . mysqli_connect_error();
}
?>
Penulisan script yang benar dari gambar di atas adalah .....
<style>
#myHeader {
background-color : lightblue; color : black; padding : 40px; text-align: center;
}
</style>
<h1 >My Header</h1>
<style>
#myHeader {
background-color : lightblue; color : black; padding : 40px; text-align: center;
}
</style>
<h1 id=”myHeader”>My Header</h1>
<style>
#myHeader {
background-color : lightblue; color : black; padding : 40px; text-align: center;
}
</style>
<h1 id=”MyHeader”>My Header</h1>
<style>
#MyHeader {
background-color : lightblue; color : black; padding : 40px; text-align: center;
}
</style>
<h1 id=”myHeader”>My Header</h1>
Berikut adalah contoh variabel yang di gunakan pada php
$koneksi = mysqli_connect("localhost","root","","akademik");
koneksi = mysqli_connect("localhost","root","","akademik");
koneksi$ = mysqli_connect("localhost","root","","akademik")
var koneksi = mysqli_connect("localhost","root","","akademik");
type file yang digunkan menyimpan file css adalah
.css
.php
.html
.txt
