wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Web Technologies by CVK

Total questions: 111

Worksheet time: 56mins

Name
Class
Date
1.

HTML stands for

a)

HighText Machine Language

b)

HyperText and links Markup Language

c)

HyperText Markup Language

d)

None of these

2.

The correct sequence of HTML tags for starting a webpage is -

a)

Head, Title, HTML, body

b)

HTML, Body, Title, Head

c)

HTML, Head, Title, Body

d)

HTML, Head, Title, Body

3.

Which of the following tag is used for inserting the largest heading in HTML?

a)

<h3>

b)

<h1>

c)

<h5>

d)

<h6>

4.

Which of the following tag is used to insert a line-break in HTML?

a)

<br>

b)

<a>

c)

<pre>

d)

<b>

5.

When a client requests a web page, what software is used as a tool?

a)

Web Browser

b)

Web Server

c)

Website

d)

Web Content

6.

What type of webpage that changes its content upon interacting with the user?

a)

Dynamic website

b)

Static Website

c)

Interactive Website

d)

Idle Website

7.

When a client requests a web page, what software is used as a tool?

a)

Web Browser

b)

Web Server

c)

Website

d)

Web Content

8.
The process of defining, designing, creating, and producing web sites.
a)
HTML
b)
CSS
c)
Parsing
d)
Web Design
9.
Where would you find the tag </HTML>?
a)
At the start of a webpage.
b)
At the end of a webpage.
c)
In the header of a webpage.
d)
In the footer of a webpage.
10.
HTML can be written using Notepad, because notepad is a...
a)
Text Editor
b)
Web Browser
c)
Word Processor
d)
Word Formatter
11.
A HTML tag that requires no closing tag such as <br> or <hr> is known as...
a)
An Open Tag
b)
An Empty Tag
c)
A Full Tag
d)
A Half Tag
12.
Text than when clicked takes the user to a different webpage of website is known as...
a)
A Hyperlink
b)
A Hopspot
c)
A Slice
d)
A Text Frame
13.
Which tag would you use to close a numbered list?
a)
</ol>
b)
<\nl>
c)
</ul>
d)
<\ul>
14.
Which HTML tag would you use to embed the image: cat.png?
a)
<img src = "cat.png">
b)
<img scr = "cat.png">
c)
<img scr = cat.png>
d)
<img src = cat.png>
15.
Which HTML tag would you use to change the font to Arial?
a)
<font face = "Arial">
b)
<font: "Arial">
c)
<font = Arial>
d)
<font face: "Arial">
16.

It is a coding language used to create internet pages

a)

HTML

b)

Title

c)

Head

17.

We must save the HTML file with the extension……………..

a)

.Html

b)

.doc

c)

.JPG

18.

you can Write HTML tags in capital or small letters.

a)

True

b)

False

19.

When a client requests a web page, what software is used as a tool?

a)

Web Browser

b)

Web Server

c)

Website

d)

Web Content

20.
Inside which tags should a <title> appear?
a)
<html> </html>
b)
<head> </head>
c)
<p> </p>
d)
<h1> </h1>
21.
Which tag would correctly display an image called logo.jpeg?
a)
<image = logo.jpeg/>
b)
<img = logo.jpeg/>
c)
<href = "logo.jpeg/>
d)
<img src = "logo.jpeg"/>
22.
What is the internet?
a)
A worldwide network of networks
b)
A type of dog
c)
An internal network
d)
A net
23.
Name an element which doesn't have a closing tag.
a)
<img>
b)
<head>
c)
<body>
d)
<p>
24.
The content of the web (such as your pictures, text, links) will show up here. 
a)
Head
b)
Body
c)
Style
d)
Folder
25.
The following tag will show a bulleted list
a)
<ul>
b)
<ol>
c)
<li>
d)
<list>
26.
Which tag is used to underline text?
a)
<a>
b)
<u>
c)
<b>
d)
<I>
27.
Which tag defines a numbered list?
a)
OL
b)
UL
c)
LI
d)
NL
28.
What is wrong with this code? 
<h1> Goose  <p> is really cool </p>
a)
It isn't inside of body
b)
It is missing a closing statement
c)
It is missing capital letters
d)
Goose isn't cool
29.
Which character is used to indicate an end tag?
a)
{}
b)
<
c)
/
d)
*
30.
How can you make a text bold?
a)
<b>text</b>
b)
<strong>text</strong>
c)
Both 1 and 2
d)
Neither 1 and 2
31.
A <tag>
a)
Is used to divide sections
b)
Is not needed in HTML
c)
Tells the browser how to format our content
d)
Is part of the title line in HTML
32.
<p> is
a)
punctuation tag
b)
closing paragraph tag
c)
closing punctuation tag
d)
paragraph tag
33.

Which is the proper way to write an h1 tag

a)

<h1>Hello</h1>

b)

<h1>"Hello

c)

{h1}Hello{/h1}

d)

<h1>Hello<h1>

34.

The _________ element is the root element of an HTML page

a)

<body>

b)

<!DOCTYPE>

c)

<html>

d)

<head>

35.
Which of the following is the smallest heading? 
a)
H3
b)
H4
c)
H5
d)
H6
36.

What does WWW stand for?

a)

World Wide Web

b)

Wide World Web

c)

Web World Wide

d)

We Will Wait

37.

Internet and World Wide Web mean the exact same thing.

a)

False

b)

True

38.

A collection of interlinked web pages on the World Wide Web

a)

website

b)

app

c)

internet

d)

www

39.

Which of the following are opening HTML tags?

a)

<p>

b)

</p>

c)

</body>

d)

<body>

e)

<h1>

40.

Look at the HTML code below and predict how the headings will be displayed.


<h3> Eggs </h3>

<h1> Bacon </h1>

<h6> Waffles </h6>


Choose from one of the options.

a)
b)
c)
d)
41.

Part of a program that does not work correctly.

a)

bug

b)

debugging

c)

digital footprint

d)

hyperlink

42.

Finding and fixing problems in an algorithm or program.

a)

bug

b)

debugging

c)

hyperlink

d)

indentation

43.

A note in the source code of a computer program that helps explain the code to people who read it. I can explain the different parts of the code and what it should create. It can help you to debug, and will also help other people who are trying to understand your code

a)

indentation

b)

citation

c)

comment

d)

debugging

44.

Who is known as Father of the Web?

a)

Bill Gates

b)

Steve Jobs

c)

Tim Berner’s Lee

d)

James Gosling

45.

Name the tags that contain only the opening tag and do not require a closing tag.

a)

Container tag

b)

Empty tag

c)

Box tag

d)

Clear tag

46.

Which key lets you refresh the contents of a webpage?

a)

F9

b)

F2

c)

F7

d)

F5

47.

What do you call the webpage that gets displayed first in the web browser when its website is downloaded?

a)

First Page

b)

Begin Page

c)

Start Page

d)

Home Page

48.

Name the software used to receive and display web pages on a computer.

a)

HTML Editor

b)

Python

c)

Web Browser

d)

Hyperlink

49.

What is the full form for W3C?

a)

World Wide Web Consortium

b)

World Wide Web Container

c)

World Wide Web Console

d)

World Wide Web Consonant

50.

Name the basic unit of a website.

a)

Tags

b)

Webpage

c)

Browser

d)

Editors

51.

What is/ are the file extension for HTML documents?

a)

.htm

b)

.html

c)

.doc

d)

Both .htm and .html

52.

A(n) _______________CSS style is applied directly in the line of code of an HTML element.

a)

designer

b)

box model

c)

inline

d)

navigator

53.

According to HTML defaults, page background color is usually

a)

black

b)

dark blue

c)

white

d)

light gray

54.

Different versions of the same browser can produce different screen appearances from identical code.

a)

True

b)

False

55.

Recent surveys indicate that the most popular browser is

a)

Internet Explorer

b)

Bing

c)

Chrome

d)

Firefox

56.

In a CSS rule, styling information is contained in the

a)

selector

b)

declaration

c)

class

d)

id

57.

The space between HTML content and a border around that content is the

a)

padding

b)

margin

c)

box structure

d)

line spacing

58.

Which of the following is the proper way to apply the CSS code inside style.css to the home.html file?

a)

Inside home.html:


<head>

<link rel="stylesheet" type="text/css" href="style.css">

</head>

b)

Inside home.html:


<head>

<style href="style.css"></style>

</head>

c)

Inside style.css:


<html href="home.html">

d)

Inside style.css:


applyTo {

href: home.html;

}

59.

Which of the following is the proper way to link to the about.html page from the index.html page?

a)

<a href="about">About This Site</a>

b)

<a href="/about.html">About This Site</a>

c)

<a href="about.html">About This Site</a>

d)

<a href="/about">About This Site</a>

60.

Which of the following selects all p tags with the class alert and makes them red?

a)

p.alert {

color: red;

}

b)

p {

.alert {

color:red;

}

}

c)

.alert p{

color: red;

}

d)

p alert{

color: red;

}

61.

A computer language used to describe how HTML elements should be styled.

a)

CSS Selector

b)

CSS

c)

HTML

d)

CSS Class

62.

Part of a CSS rule-set that defines which HTML elements the style should be applied to

a)

CSS Selector

b)

CSS

c)

HTML

d)

CSS Class

63.

If you wanted to change the font style for a selector in CSS, which code would you use in your CSS rule-set?

a)

text-decoration: value;

b)

text-align: value;

c)

font-family: value;

d)

color: value;

64.

If you wanted to specify the horizontal alignment of text in a CSS element, which code would you use in your CSS rule-set?

a)

text-decoration: value;

b)

text-align: value;

c)

font-family: value;

d)

color: value;

65.

If you wanted to specify the color of a text element, which code would you use in your CSS rule-set?

a)

background-color: value;

b)

border-color: value;

c)

font-color: value;

d)

color: value;

66.

a set of rules to specify the style of a selected element.

a)

CSS selector

b)

tag

c)

CSS rule-set

d)

style.css

67.

CSS allows al sorts of style rules for properties. Which of the following are properties that you can make rules for in a CSS style sheet?

a)

fonts

b)

position

c)

size

d)

color

68.

Which of the following properties would allow you to change the style of the text in a paragraph?

a)

color

b)

text-align

c)

font-family

d)

text-size

e)

text-decoration

69.

If you wanted all the contents of your webpage to have the same style, which CSS selector would you use to create a rule set in your style sheet?

a)

body

b)

head

c)

paragraph

d)

float

e)

background color

70.

What selector would you use to style EVERY <p>?

a)

Tag

b)

Class

c)

ID

71.

What selector would you use to style ONE specific <p> to stand out with a different text color?

a)

Tag

b)

Class

c)

ID

72.

What selector would you use to style ALL <LI> with the same font-face?

a)

Tag

b)

Class

c)

ID

73.

What selector would you use to style a specific GROUP of elements the same?

a)

Tag

b)

Class

c)

ID

74.

WHERE do you code your CSS to style all the text in a 100-page website?

a)

Attached

b)

Inline

c)

External

75.

What do you call styling INSIDE an HTML tag?

a)

Attached

b)

Inline

c)

External

76.

WHERE do you code your CSS to control ONE SINGLE page?

a)

Attached

b)

Inline

c)

External

77.

What kind of SELECTOR is this?

a)

Tag

b)

Class

c)

ID

d)

Compound

78.

What kind of SELECTOR is this?

a)

Tag

b)

Class

c)

ID

d)

Compound

79.

What kind of SELECTOR is this?

a)

Tag

b)

Class

c)

ID

d)

Compound

80.

1. What does CSS Stand for ?

a)

Cascading Style Scene

b)

Cascading Style Sheet

c)

Car scating snow sled

d)

Cascading Select Sheet

81.

2. What would this do to a webpage with h1 tags

h1 { text-decoration:underline;

}

a)

It make all the h1 tagged text be underlined

b)

It would make just one h1 tagged text to be underlined

c)

It would underline all the text in the webpage

d)

It make all the text turn red

82.

3. What special character needs to be used to tell the browser at the end of each line of css code ?

a)

@

b)

()

c)

; ( Semi- colon)

d)

: (colon)

83.

4. Chose the css code that would change the colour of text

a)

color = red;

b)

color = red = text;

c)

color:red;

d)

red : color;

84.

5. What errors are in this css code

p ( text-align: center:)

a)

p needs to be capital (P)

b)

no errors in the code

c)

should be text = center;

d)

should use { }, not () and ; to end not :

85.

7. What type of software is Google Chrome

a)

Operating System software

b)

Internet Explorer Software

c)

Broswer software

d)

Web page software

86.

Which of the following is a valid CSS rule?

a)

h1 {

color: blue;

}

b)

style="color:blue;"

c)

css="color:blue;"

d)

h1 {

color {

blue;

}

}

87.

Why do we use CSS?

a)

HTML wasn’t intended to be able to style web pages, CSS allows

us to add style

b)

Separate the content of a web page from the design of a web page

c)

Easily modify the look and feel of a web site even at a large scale

d)

All of the above

88.

Which of the following CSS rules will select the HTML element with the id logo and set the font size for

that element to 60 pixels?

a)

logo {

font-size: 60px;

}

b)

.logo {

font-size: 60px;

}

c)

#logo {

font-size: 60px;

}

d)

id="logo" {

font-size: 60px;

}

89.

What does a class do?

a)

adds color to words

b)

adds style to specific elements

c)

adds style to a whole page

d)

adds a lot more work

90.

Select the rule set to make all the text in your web page blue and centered.

a)

p {

color: blue;

}

b)

body {

text-align: left;

color: blue;

}

c)

p {

text-align: center;

color: blue;

}

d)

body {

text-align: center;

color: blue;

}

91.

Which selector will change the font of the text?

a)

font-size

b)

text-align

c)

font-famiy

d)

text-decoration

92.

Which rule set would change the font size to 24?

a)

font-size: 24

b)

size: 24;

c)

font-size: 24;

d)

font size: 24;

93.
If you want to have more than one property for a CSS selector, what character separates them?
a)
comma (,)
b)
semi-colon (;)
c)
colon (:)
d)
dash (-)
94.
Where in the HTML document is the correct location to insert code to link to your external CSS? 
a)
In the <head> section
b)
In the <body> section
c)
At the very end of the document
d)
At the very beginning of the document
95.
What symbols go around the properties for each CSS selector?
a)
< >
b)
[ ]
c)
{ }
d)
( )
96.
The code for the comment tag in CSS is
a)
<!-- comment -->
b)
<!-- comment >
c)
/* comment /*
d)
/* comment */
97.
Which is the selector in this CSS?
p {color: red;}
a)
p
b)
color
c)
red
98.
Which is the property in this CSS?
p {color: red;}
a)
p
b)
color
c)
red
99.
Which is the Value in the CSS?
p {color: red;}
a)
p
b)
color
c)
red
100.
Which tag defines the visible content of a web document?
a)
<head>
b)
<meta>
c)
<title>
d)
<body>
101.
<!DOCTYPE> 
a)
Defines the document type
b)
Defines a comment
c)
Defines the document's body
d)
Defines information about the document
102.
If you want to have more than one property for a CSS selector, what character separates them?
a)
comma (,)
b)
semi-colon (;)
c)
colon (:)
d)
dash (-)
103.
Which is correct CSS syntax? 
a)
{ body; color=black;}
b)
body: color= black
c)
body {color:black;}
d)
(body color is black) 
104.
Which CSS code is incorrect?
a)
a {color: blue;}
b)
p {font-size: 10px;}
c)
body {background-color="red";}
d)
img {width: 100%;}
105.
A selector (ex: h1{ } ) can only have 1 property
a)
true
b)
false
106.
What unit of measurement does CSS use for size?
a)
px
b)
em
c)
%
d)
All work
107.
Which of the following is the proper way to code an inline style attribute?
a)
color=blue
b)
color="blue"
c)
color blue
d)
color=(blue)
108.
What is the purpose of HTML
a)
To make a formatted document
b)
To make a webpage
c)
To edit photos
d)
To make a creative slide
109.

What symbol should you use to target a class name in css?

a)

#

b)

()

c)

.

d)

class

110.
What is the purpose of HTML
a)
To make a formatted document
b)
To make a webpage
c)
To edit photos
d)
To make a creative slide
111.

TRUE OR FALSE: HTML is used to style web pages.

a)

True

b)

False