Font size
WorksheetsLatihan Soal PSTS 1 ICT Progul
Total questions: 60
Worksheet time: 30mins
What does HTML stand for?
Hyper Trainer Markup Language
Hyper Text Markup Language
Hyperlinks and Text Markup Language
Home Tool Markup Language
What does CSS stand for?
Creative Style Sheet
Cascading Style Sheet
Computer Style Syntax
Coding Style Script
Which tag is used to insert an image?
<p>
<h1>
<img>
<a>
Which attribute of <img> is used to define the image source?
alt
href
src
title
Which attribute of <img> is used for alternative text?
alt
src
href
target
Which tag creates a hyperlink?
<link>
<href>
<a>
<url>
Which attribute is required in <a> to specify the link destination?
href
src
target
name
Which tag defines the largest heading?
<h1>
<h6>
<p>
<title>
Which tag is used to create a line break?
<br>
<p>
<hr>
<lb>
Which tag is used for a paragraph?
<para>
<h1>
<p>
<paragraph>
Which tag is used to create an ordered list?
<ul>
<ol>
<li>
<list>
Which tag is used to create an unordered list?
<ul>
<ol>
<li>
<list>
Which tag defines a list item?
<list item>
<li>
<list>
<ul>
Which tag creates a table row?
<td>
<th>
<tr>
<table>
Which tag is used to input text in a form?
<input type="text">
<form>
<textarea>
<button>
Which tag is used to create a drop-down list?
<dropdown>
<select>
<list>
<option>
Which CSS property changes text color?
font-size
background-color
color
text-align
Which CSS property changes background color?
background-color
bg-color
bgcolor
color
Which CSS property sets the size of text?
text-style
font-size
text-size
font-color
Which CSS property sets the font family?
font-weight
font-family
text-family
font-style
Which CSS property makes text bold?
bold
font-style
font-weight
text-decoration
Which CSS property underlines text?
font-decoration
text-decoration
underline
text-style
Which CSS property changes line spacing?
line-height
spacing
word-spacing
padding
Which CSS property sets padding?
margin
padding
spacing
line-height
Which CSS property sets margin?
margin
padding
spacing
border
Which CSS selector selects elements by class?
.name
#name
name
*
Which CSS selector selects elements by ID?
.id
id{}
#id
*id
Which CSS selector selects all elements?
all
body
*
div
Which HTML tag contains metadata (like title)?
<body>
<head>
<meta>
<html>
Which tag defines the title of a page (shown in browser tab)?
<title>
<head>
<meta>
<h1>
Which HTML structure is correct?
<head><html><body>
<html><head><body>
<html><body><head>
<body><html><head>
Which type of CSS has the highest priority?
External
Internal
Inline
Browser default
Which tag defines a horizontal line?
<line>
<br>
<hr>
<border>
Which HTML tag is used for preformatted text?
<pre>
<p>
<code>
<span>
Which tag is used for dividing a section in HTML?
<div>
<span>
<p>
<h1>
Which element is inline?
<span>
<div>
<p>
<h1>
Which CSS property aligns text to center?
text-style
text-align
align-text
font-align
Which attribute in <a> opens link in new tab?
alt
src
target="_blank"
title
Which tag is used to insert an input field for password?
<input type="text">
<input type="password">
<password>
<pw>
Which CSS method links external stylesheet?
<style>
<css>
<link rel="stylesheet" href="style.css">
<script>
Which are valid HTML heading tags?
<h1>
<h6>
<h7>
<head>
Which attributes are valid for <img> ?
src
alt
href
target
Which tags are used in lists?
<ul>
<ol>
<li>
<list>
Which CSS properties change text appearance?
color
font-size
font-weight
src
Which tags are main HTML structure?
<html>
<head>
<body>
<title>
Which CSS selectors are valid?
p {}
.class {}
#id {}
/css/
Which are block elements?
<div>
<p>
<span>
<a>
Which attributes belong to <a>?
href
target
src
alt
Which selector selects by ID in CSS?
#name
.name
name{}
*
Which tags are used in forms?
<input>
<textarea>
<select>
<para>
HTML stands for?
(a)
CSS stands for?
(a)
Tag for line break?
(a)
Largest heading tag?
(a)
Attribute in <img> for source?
(a)
Attribute in <a> for destination?
(a)
CSS property for text size?
(a)
CSS property for background color?
(a)
Inline element example?
(a)
Block element example?
(a)
