wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Intro to Web Development (Pre-Test)

Total questions: 25

Worksheet time: 13mins

Name
Class
Date
1.

The structure of a web page is primarily created with which of the following?

a)

HTML

b)

CSS

c)

Javascript

d)

C++

2.

Which web development tools would I use if I wanted my web page to have specific colors and style?

a)

HTML

b)

CSS

c)

Javascript

d)

PHP

3.

To "style" a font in a specific type, which "property" would I use?

a)

font-style

b)

font-type

c)

font-family

d)

font-"name of font"

4.

A tag pair assigns meaning to a web page ______, which is a specific component of the page, such as a paragraph or a heading.

a)

element

b)

attribute

c)

object

d)

property

5.

What language adds interactive features to a website?

a)

HTML

b)

CSS

c)

JavaScript

d)

PHP

6.

What does HTML stand for?

a)

Hypertext Making Language

b)

Hyper Transfer Markup Language

c)

Hypertext Markup Language

d)

Hyper Transfer Making Language

7.

All HTML Tags are enclosed in ____________

a)

# and #

b)

? and !

c)

{ and }

d)

< and >

8.

 

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>

9.

HTML consists of two (2) sections. What are those sections? 

a)

head and body

b)

html and head

c)

body and foot

d)

foot and head

10.

What is the keyword that we use to specify variable in JavaScript?

a)

variable

b)

var

c)

int

d)

str

11.

Which of the following CSS ID Selector ‘section’ set the background color to green?

a)

#section {color: green}

b)

#section{background-color:green}

c)

.section{background-color:green}

d)

.section{color:green}

12.

Which of the following is used for closing an HTML tag?

a)

Backward slash

b)

Hyphen

c)

Period

d)

Forward slash

13.

<h10> is the largest header in HTML.

a)

True

b)

False

14.

Which one is correct HTML page structure ?

a)

<!DOCTYPE html>

<html>

<head>

<title></title>

</head>

<body>

</body>

</html>

b)

<!DOCTYPE html>

<html>

<body>

<head>

<title></title>

</head>

</body>

</html>

c)

<!DOCTYPE html>

<html>

<head>

<body>

</body>

<title></title>

</head>

</html>

d)

<head>

<title></title>

</head>

<body>

</body>

15.

Which HTML header tag is bigger ?

a)

<h4>

b)

<h6>

c)

<h1>

d)

<h+1>

16.

Which one is the universal selector in CSS ?

a)

*

b)

#

c)

.

d)

all of the above

17.

Which one is the ID selector in CSS ?

a)

*

b)

#

c)

.

d)

all of the above

18.

Which one is correct?

a)
b)
c)
d)
19.

A web document must have which of the following tags? SELECT 3

a)

<html>

b)

<body>

c)

<p>

d)

<img>

e)

<head>

20.

This <!-- --> in your HTML does which of the following when creating a web document?

a)

Allows you to provide comments

b)

Helps you debug your problematic code

c)

Will bypass code that falls in between these symbols <!-- -->

d)

Will provide the proper indentation for your code

21.

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


<h3> Eggs </h3>

<h1> Bacon </h1>

<h6> Waffles </h6>

a)
b)
c)
d)
22.

Look at the list above and predict the HTML code you would use to display it correctly. Choose from the following answers.

a)
b)
c)
d)
23.

sets the color of words in a paragraph

a)

h1 {

color: pink;

}

b)

img {

color: pink;

}

c)

body {

color: pink;

}

d)

p {

color: pink;

}

24.

A tag used to insert an image.

a)

<img>

b)

<i>

c)

<m>

d)

<image>

25.

What is the correct HTML Tag for Head?

a)

</head>

b)

<head/>

c)

<head></head>

d)

<?head></head>