wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Latihan Soal PSTS 1 ICT Progul

Total questions: 60

Worksheet time: 30mins

Name
Class
Date
1.

What does HTML stand for?

a)

Hyper Trainer Markup Language

b)

Hyper Text Markup Language

c)

Hyperlinks and Text Markup Language

d)

Home Tool Markup Language

2.

What does CSS stand for?

a)

Creative Style Sheet

b)

Cascading Style Sheet

c)

Computer Style Syntax

d)

Coding Style Script

3.

Which tag is used to insert an image?

a)

<p>

b)

<h1>

c)

<img>

d)

<a>

4.

Which attribute of <img> is used to define the image source?

a)

alt

b)

href

c)

src

d)

title

5.

Which attribute of <img> is used for alternative text?

a)

alt

b)

src

c)

href

d)

target

6.

Which tag creates a hyperlink?

a)

<link>

b)

<href>

c)

<a>

d)

<url>

7.

Which attribute is required in <a> to specify the link destination?

a)

href

b)

src

c)

target

d)

name

8.

Which tag defines the largest heading?

a)

<h1>

b)

<h6>

c)

<p>

d)

<title>

9.

Which tag is used to create a line break?

a)

<br>

b)

<p>

c)

<hr>

d)

<lb>

10.

Which tag is used for a paragraph?

a)

<para>

b)

<h1>

c)

<p>

d)

<paragraph>

11.

Which tag is used to create an ordered list?

a)

<ul>

b)

<ol>

c)

<li>

d)

<list>

12.

Which tag is used to create an unordered list?

a)

<ul>

b)

<ol>

c)

<li>

d)

<list>

13.

Which tag defines a list item?

a)

<list item>

b)

<li>

c)

<list>

d)

<ul>

14.

Which tag creates a table row?

a)

<td>

b)

<th>

c)

<tr>

d)

<table>

15.

Which tag is used to input text in a form?

a)

<input type="text">

b)

<form>

c)

<textarea>

d)

<button>

16.

Which tag is used to create a drop-down list?

a)

<dropdown>

b)

<select>

c)

<list>

d)

<option>

17.

Which CSS property changes text color?

a)

font-size

b)

background-color

c)

color

d)

text-align

18.

Which CSS property changes background color?

a)

background-color

b)

bg-color

c)

bgcolor

d)

color

19.

Which CSS property sets the size of text?

a)

text-style

b)

font-size

c)

text-size

d)

font-color

20.

Which CSS property sets the font family?

a)

font-weight

b)

font-family

c)

text-family

d)

font-style

21.

Which CSS property makes text bold?

a)

bold

b)

font-style

c)

font-weight

d)

text-decoration

22.

Which CSS property underlines text?

a)

font-decoration

b)

text-decoration

c)

underline

d)

text-style

23.

Which CSS property changes line spacing?

a)

line-height

b)

spacing

c)

word-spacing

d)

padding

24.

Which CSS property sets padding?

a)

margin

b)

padding

c)

spacing

d)

line-height

25.

Which CSS property sets margin?

a)

margin

b)

padding

c)

spacing

d)

border

26.

Which CSS selector selects elements by class?

a)

.name

b)

#name

c)

name

d)

*

27.

Which CSS selector selects elements by ID?

a)

.id

b)

id{}

c)

#id

d)

*id

28.

Which CSS selector selects all elements?

a)

all

b)

body

c)

*

d)

div

29.

Which HTML tag contains metadata (like title)?

a)

<body>

b)

<head>

c)

<meta>

d)

<html>

30.

Which tag defines the title of a page (shown in browser tab)?

a)

<title>

b)

<head>

c)

<meta>

d)

<h1>

31.

Which HTML structure is correct?

a)

<head><html><body>

b)

<html><head><body>

c)

<html><body><head>

d)

<body><html><head>

32.

Which type of CSS has the highest priority?

a)

External

b)

Internal

c)

Inline

d)

Browser default

33.

Which tag defines a horizontal line?

a)

<line>

b)

<br>

c)

<hr>

d)

<border>

34.

Which HTML tag is used for preformatted text?

a)

<pre>

b)

<p>

c)

<code>

d)

<span>

35.

Which tag is used for dividing a section in HTML?

a)

<div>

b)

<span>

c)

<p>

d)

<h1>

36.

Which element is inline?

a)

<span>

b)

<div>

c)

<p>

d)

<h1>

37.

Which CSS property aligns text to center?

a)

text-style

b)

text-align

c)

align-text

d)

font-align

38.

Which attribute in <a> opens link in new tab?

a)

alt

b)

src

c)

target="_blank"

d)

title

39.

Which tag is used to insert an input field for password?

a)

<input type="text">

b)

<input type="password">

c)

<password>

d)

<pw>

40.

Which CSS method links external stylesheet?

a)

<style>

b)

<css>

c)

<link rel="stylesheet" href="style.css">

d)

<script>

41.

Which are valid HTML heading tags?

a)

<h1>

b)

<h6>

c)

<h7>

d)

<head>

42.

Which attributes are valid for <img> ?

a)

src

b)

alt

c)

href

d)

target

43.

Which tags are used in lists?

a)

<ul>

b)

<ol>

c)

<li>

d)

<list>

44.

Which CSS properties change text appearance?

a)

color

b)

font-size

c)

font-weight

d)

src

45.

Which tags are main HTML structure?

a)

<html>

b)

<head>

c)

<body>

d)

<title>

46.

Which CSS selectors are valid?

a)

p {}

b)

.class {}

c)

#id {}

d)

/css/

47.

Which are block elements?

a)

<div>

b)

<p>

c)

<span>

d)

<a>

48.

Which attributes belong to <a>?

a)

href

b)

target

c)

src

d)

alt

49.

Which selector selects by ID in CSS?

a)

#name

b)

.name

c)

name{}

d)

*

50.

Which tags are used in forms?

a)

<input>

b)

<textarea>

c)

<select>

d)

<para>

51.

HTML stands for?

(a)  

52.

CSS stands for?

(a)  

53.

Tag for line break?

(a)  

54.

Largest heading tag?

(a)  

55.

Attribute in <img> for source?

(a)  

56.

Attribute in <a> for destination?

(a)  

57.

CSS property for text size?

(a)  

58.

CSS property for background color?

(a)  

59.

Inline element example?

(a)  

60.

Block element example?

(a)