WorksheetsQ1_Web Systems
Total questions: 21
Worksheet time: 21mins
Name
Class
Date
1.
Which technology is responsible for the structure of a webpage?
a)
CSS
b)
HTML
c)
JavaScript
d)
HTTP
2.
In the house analogy for web development, JavaScript is compared to:
a)
The walls and roof
b)
The paint and furniture
c)
The electricity and plumbing
d)
The foundation
3.
Which HTML tag is used to create a hyperlink?
a)
<link>
b)
<a>
c)
<p>
d)
<h1>
4.
Which CSS selector is used to style a single, unique element on a page?
a)
Class selector
b)
Element selector
c)
ID selector
d)
Universal selector
5.
What is the correct syntax for selecting all <p> elements in CSS?
a)
p[] {}
b)
p: {}
c)
p {}
d)
.p {}
6.
Which JavaScript function is used to find an element by its ID?
a)
findById()
b)
querySelector()
c)
getElementById()
d)
getById()
7.
Which part of the box model comes directly after content?
a)
Border
b)
Margin
c)
Padding
d)
Outline
8.
Which HTML tag is used to insert an image?
a)
<image>
b)
<img>
c)
<src>
d)
<pic>
9.
What does CSS stand for?
a)
Cascading Style Sheets
b)
Computer Style System
c)
Creative Styling Syntax
d)
Color Styling System
10.
Which JavaScript action changes the text of an element with the ID 'demo'?
a)
document.demo = 'Text';
b)
document.getElementById("demo").innerText = "Text";
c)
getElementById("demo").value = "Text";
d)
demo.innerHTML = "Text";
11.
CSS is used to add interactivity to a web page.
a)
True
b)
False
12.
The <form> tag in HTML is used to collect user input.
a)
True
b)
False
13.
The ID selector in CSS starts with a period (.).
a)
True
b)
False
14.
JavaScript can be used to modify both HTML content and CSS styles after a page loads.
a)
True
b)
False
15.
The <ul> tag creates an unordered list in HTML.
a)
True
b)
False
16.
(a) is the standard language for creating web pages and uses tags to define content elements.
17.
In CSS, a (a) selector targets all elements of the same type, such as <h1> or <p>.
18.
In JavaScript, the (a) represents the page as a tree of objects.
19.
The three ways to use CSS are inline, internal, and (a) .
20.
In the HTML example provided, clicking the "No" button changes the text to " (a) " in red.
21.
Write your fullname: (Lastname, Firstname MI.)
(a)
100 %
