Web Programming

Web Programming

Assessment

Quiz

Created by

yohanes parsaoran

Computers

12th Grade

168 plays

Hard

Student preview

quiz-placeholder

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The function of the link to connect between 1 file with other file in web pages. What is the correct HTML for creating a hyperlink in .html format?

<a url="http://www.w3schools.com">W3Schools.com</a>

<a name="http://www.w3schools.com">W3Schools.com</a>

<a href="http://www.w3schools.com">W3Schools</a>

<href a>http://www.w3schools.com</a>

<a href=http://www.w3schools.com>W3Schools</a>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In css format, we can give a color consisting of a combination of red, green and blue. If we want to give white, then the correct writing (correct declaration) of value rgb in the program code is ..

rgb (0,0,0)

rgb (255;255;255)

rgb (“0”,”0”,”0”)

rgb (255,255,255)

rgb (255,0,255)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Look at the code

p {color : “red”};

.p {color : red};

#p {color : red};

<p> {color : red};

p {color : red};

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

No. 4

para1 {color : “yellow”};

.para1{color : yellow}

#para1{color : yellow }

#para-1{color : “yellow” }

#para1{color = yellow }

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the correct code to change the color of element with the class “colortext” to green and change the text to uppercase and also align center?

Media Image
Media Image
Media Image
Media Image
Media Image

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Each element on HTML has type of displays that can set the layout of a content in a webpage. What kind of display is that supposed to be?

Setiap element pada HTML mempunyai tipe display masing-masing yang dapat mengatur tata letak suatu konten dalam halaman web. Display yang dimaksud adalah...

Internal, inline, external

Padding, margin, border

Text-align, text decoration, text-transform

Inline, block , inline-block

Font-size, font-family, font-weight

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

No.7

Semua elemen image akan tampil mengambang ke kiri. <image class=”gambar” src=”images/gambar.jpg”/></p>

Pengaturan style di atas tidak akan berlaku pada elemen paragraf tertentu. <p><rel id=”gambar” src=”images/gambar.jpg”/></p>

Elemen gambar yang ada pada file .html akan memiliki ukuran width = 50px dan height = 25px. <p><image class=”gambar” src=”images/gambar.jpg”> gambar </image></p>

Class gambar di dalam semua elemen paragraf akan diatur dengan style di atas. <p><img class=”gambar” src=”images/gambar.jpg”/></p>

Semua elemen image akan tampil mengambang ke kanan. <image class=”gambar” src=”images/gambar.jpg”/></p>

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?