Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Y10 ICT HTML/CSS

Total questions: 66

Worksheet time: 32mins

Name
Class
Date
1.
Karen wants to begin a new line within a paragraph of text on a webpage. Which code should she use?
a)
<li>
b)
<h1>
c)
<hr>
d)
<br>
2.
What is the proper code to insert an image named "frog.jpg"?
a)
<img src="frog" width="104" height="142">
b)
<img="frog.jpg" width="104" height="142">
c)
<img src="frog.jpg" width="104" height="142">
d)
<img ="frog" width="104" height"142">
3.
Annie wants the name of her product to be the main heading at the top of her webpage. Which tag defines
the main heading in a web document?
a)
<h3>Product</h3>
b)
<h5>Product</h5>
c)
<h1>Product</h1>
d)
<h6>Product</h6>
4.
Which tag defines the visible content of a web document?
a)
<head>
b)
<meta>
c)
<title>
d)
<body>
5.
Which tag will create a line break in a web document?
a)
<hr>
b)
<br>
c)
<h1>
d)
<body>
6.
What tag defines the beginning of a webpage?
a)
<html>
b)
<h1>
c)
<p>
d)
<body>
7.
A properly coded HTML tag will always be found between which two symbols?
a)
( )
b)
{ }
c)
[ ]
d)
< >
8.
Which line of code correctly creates a link to Amazon's website?
a)
<a ref=http://www.amazon.com>Amazon
b)
<href=http://www.amazon.com>Amazon<a>
c)
<a href="http://www.amazon.com">Amazon
d)
<a href="http://www.amazon.com">Amazon</a>
9.
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)
10.
Which item interprets the source code in a web document?
a)
Text editor
b)
Web browser
c)
  HTML editor
d)
Web server
11.
Between which paired tags would the visible content of a webpage be displayed?
a)
<html></html>
b)
<head></head>
c)
<body></body>
d)
<title></title>
12.
Which hyperlink shows an absolute link?
a)
href="www.nytimes.com">NYTimes</a>
b)
<a href="page1.html">Page One<a>
c)
<a href="http://www.target.com">Target<a>
13.

Which one of the following is a closing HTML tag?

a)

<html />

b)

</html>

c)

<</html>>

d)

<html>

14.

Which tag is used to add an image?

a)

<image>

b)

<img>

c)

<<img>>

d)

</image>

15.

Which of the following is the correct way to add an attribute?

a)

<src>

b)

classes:ids

c)

id="title"

d)

<id>

16.

What symbol should you use to target an id in css?

a)

.

b)

+

c)

id

d)

#

17.

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

a)

#

b)

()

c)

.

d)

class

18.

What is the correct syntax to change the background color with css?

a)

background-color: purple;

b)

background-color = "purple";

c)

backgroundcolor=orange

d)

change-background-color: purple

19.

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

a)

True

b)

False

20.

TRUE OR FALSE: CSS is used to style web pages

a)

True

b)

False

21.

What is missing from this HTML skeleton?


<!DOCTYPE html>

<html>

<body>

</body>

</html>

a)

<head></head>

b)

<div></div>

c)

<img></img>

d)

<head>

22.

What tag do you use to make a numbered list?

a)

<list>

b)

<ol>

c)

<li>

d)

<ul>

23.

How do you change the font color with CSS?

a)

font-color: green;

b)

color: green;

c)

change-font-color: green;

d)

fontcolor=green;

24.

TRUE OR FALSE: All tags require a closing tag.

a)

True

b)

False

25.

Where should you put the link tag to connect your CSS and HTML file?

a)

Between the <head> </head> in HTML

b)

Between the <body> </body> in HTML

c)

None of the above.

26.

TRUE OR FALSE: HTML is used to add content to web pages.

a)

True

b)

False

27.
What does HTML stand for?
a)
Hypertext Medium Language
b)
Hippo Tries Making Licorice
c)
Hypertext Markup Lingo
d)
Hypertext Markup Language
28.
What is the function of the <p> tag?
a)
Defines a paragraph.
b)
Makes the text purple.
c)
It pushes the text to the right.
d)
Prints the webpage.
29.
Multimedia can be embedded in an HTML document.
a)
Yes
b)
No
30.
Scripts can be placed anywhere in an HTML document.
a)
Yes
b)
No
31.
Choose the correct tag for the largest heading:
a)
h6
b)
heading
c)
head
d)
h1
32.
http://www.google.com is an example of a what?
a)
URL
b)
IP address
c)
Browser
d)
Application
33.
Google Chrome is an example of a what?
a)
URL
b)
Web browser
c)
IP address
d)
metal
34.
Which of the following is correct about RGB Values format of CSS colors?
a)
This color value is specified using the rgb( ) property.
b)
This property takes three values, one each for red, green, and blue.
c)
The value can be an integer between 0 and 255 or a percentage.
d)
�All of the above.
35.
Which of the following property is used as a shorthand to specify a number of other background properties?
a)
background-attachment
b)
background
c)
background-repeat
d)
background-position
36.
Which of the following property is used as shorthand to specify a number of other font properties?
a)
font-size
b)
�font
c)
font-variant
d)
font-weight
37.
�Which of the following selector matches a element based on its id?
a)
The Id Selector
b)
�The Universal Selector
c)
The Descendant Selector
d)
The Class Selector
38.
Choose the correct HTML tag for the smallest size heading?
a)
<heading>
b)
<h6>
c)
 <h1>
d)
<head>
39.
�HTML document start and end with which tag pairs?
a)
<HEAD>….</HEAD>
b)
<BODY>….</BODY>
c)
<HTML>….</HTML>
d)
<WEB>….</WEB>
40.

CSS stands for

a)

Code Style Sheet

b)

Coding Style Sheet

c)

Cascading Sheet Style

d)

Cascading Style Sheet

41.

Which is the correct CSS syntax?

a)

body {color: yellow;}

b)

body:color=yellow;

c)

{body:color= yellow;}

d)

{body;color: yellow;}

42.

What symbol is used to indicate an end tag?

a)

>

b)

/

c)

}

d)

;

43.

This symbol / is a

a)

slash

b)

backslash

c)

division

d)

exclamation mark

44.

This symbol \ is a

a)

slash

b)

backslash

c)

division

d)

exclamation mark

45.
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 (-)
46.
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
47.
Which is correct CSS syntax? 
a)
{ body; color=black;}
b)
body: color= black
c)
body {color:black;}
d)
(body color is black) 
48.
Select the code below that uses CSS to configure a background color of #000000 for a web page.
a)
body { background-color: #000000; }
b)
body { bgcolor: #000000; }
c)
document { background­-page: #000000; }
d)
None of these
49.
Which is the correct way to format a Font Family for a paragraph?
a)
p { font-face: Arial; }
b)
p { family-font: Arial; }
c)
p { font-family: Arial; }
d)
p { font: Arial; }
50.
What symbols go around the properties for each CSS selector?
a)
< >
b)
[ ]
c)
{ }
d)
( )
51.
Which is the value in this CSS?
p {color: red;}
a)
p
b)
color
c)
red
52.
Which is the selector for a link?
a)
a { }
b)
link { }
c)
href { }
d)
a href { }
53.
Which CSS code centers text?
a)
p {align: center;}
b)
p {text-align: center;}
c)
p {align=center;}
d)
p {center;}
54.
Which is the correct way to format a Font Family for a paragraph? (Hint: make sure you have more than one backup font!)
a)
p { font-face: Arial, Verdana, San-Serif; }
b)
p { font-family: Arial, Verdana, San-Serif; }
c)
p { family-font: Arial, Verdana, San-Serif; }
d)
p { font: Arial, Verdana, San-Serif; }
55.
Which CSS code is buggy?
a)
link {color: blue;}
b)
li {background-color: red;}
c)
p {font-size: 10px;}
d)
img {width: 100%;}
56.
Which is the selector in this CSS?
p {color: red;}
a)
p
b)
color
c)
red
57.
Which is the property in this CSS?
p {color: red;}
a)
p
b)
color
c)
red
58.
Which CSS code centers text?
a)
p {align: center;}
b)
p {align=center;}
c)
p {text-align: center;}
d)
p {center;}
59.
What unit of measurement does CSS use for size?
a)
px
b)
em
c)
%
d)
All work
60.

True or False. One of the first steps in creating a website is defining the purpsoe of the website.

a)

True

b)

False

61.

Which of the following are examples of how you can identify your target audience?

a)

Age

b)

Gender

c)

Shoe size

d)

The last thing you ate

e)

Location

62.

_________________________is the part of the internet URL selected and registered by an individual, bsuiness, or organization to represent their web presence.

a)

Snapchat name

b)

Domain name

c)

Party name

d)

Legal name

63.

What possible fees can you incur when maintaining a website?

a)

web hosting fees

b)

domain registration

c)

social media surcharge

d)

URL fee

64.

Advantages of using an online website builder include:

a)

Time consuming

b)

Very expensive

c)

Low cost

d)

Easy to learn

65.

Disadvantages of using free hosting include:

a)

advertising banners

b)

free suppport

c)

limited features

d)

allows domain naming

e)

no domain hosting

66.

Before your website goes live you should ___________

a)

Hope that everything looks fine

b)

Ask your mother to look at it

c)

Test the site

d)

Remove all images