Search Header Logo

Web Dev Quiz

Authored by Generation Girl

Professional Development

Professional Development

Used 1+ times

Web Dev Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Manakah yang bukan termasuk element HTML?

<div></div>
<body></body>
<feet></feet>
<h1></h1>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Manakah cara untuk menampilkan text yang apabila di klik dapat mengantarkan kita ke halaman lain (hyperlink) ?

<a href="https://www.generationgirl.org/"> klik untuk membuka website generation girl! </a>
<a link="https://www.generationgirl.org/"> klik untuk membuka website generation girl! </a>
<a to="https://www.generationgirl.org/"> klik untuk membuka website generation girl! </a>
<a url="https://www.generationgirl.org/"> klik untuk membuka website generation girl! </a>

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Manakah cara untuk menampilkan text dengan warna putih menggunakan inline css ?

<h1 style="color:white”>This is a heading</h1>
<h1 style=“text-color:white”>This is a heading</h1>
<h1 style=“font-color:white;”>This is a heading</h1>
<h1 style=“text”:white>This is a heading</h1>

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Manakah Output dari code HTML & CSS ini?

Media Image
Media Image
Media Image
Media Image

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Code javascript manakah yang akan mengubah warna background box warna biru menjadi merah apabila kita melakukan klik pada kotak biru? *Kotak biru memiliki id #box1

let element1 = document.getElementById("box1") element1.onclick = function() {element1.style.color = "red";}
let element1 = document.getElementById("box1") element1.onclick = function() {element1.style.backgroundColor = "red";}
let element1 = document.getElementById("box1") element1.onclick = function() {element1.backgroundColor = "red";}
let element1 = document.getElementById("box1") element1.onclick = function() {element1.css.backgroundColor = "red";}

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?