wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML and CSS Basics - CSD Unit 2 Lessons 1-6

Total questions: 34

Worksheet time: 17mins

Name
Class
Date
1.

<p> is a _______ tag.

a)

image

b)

paragraph

c)

filename

2.
HTML Language uses
a)
Tabs
b)
Tags
c)
Punctuation
d)
Quotations
3.

Choose the correct HTML element for the largest heading:

a)

<head>

b)

<h1>

c)

<heading>

d)

<h6>

4.

HTML controls the _________ of a webpage.

a)

feel

b)

precision

c)

structure

d)

style

5.

What defines the beginning and ending of the visible part of a webpage?

a)

<head> main part of the document </body>

b)

<body> main part of the document </html>

c)

d) </body> main part of the document <html>

d)

<body> main part of the document </body>

6.

Which character is used to indicate an end tag?

a)

!

b)

#

c)

/

d)

\

7.

Which of the following is the proper format for an HTML tag?

a)

>h1<Content Affected by Tag >/h1<

b)

<h1>Content Affected by Tag<h1>

c)

<h1 Content Affected by Tag />

d)

<h1>Content Affected by Tag</h1>

8.

HTML stands for...

a)

Hyper Time Multiple Language

b)

Hyper Text Mark-up Language

c)

Hippo T-Rex Mascot Lemur

d)

Hipper Text Make Language

9.

Which list tag would you use for an ordered list

a)

<h1></h1>

b)

<ol></ol>

c)

<ul></ul>

d)

<a></a>

10.
Body tags are used;
a)
Used for only the header
b)
Used only for the paragraph
c)
element that wraps everything that is visible on the page.
d)
Not used in HTML
11.
</html>
a)
Found after </h1>
b)
Found after </style>
c)
Found after </body>
d)
Found at bottom of written code
12.

What is finding and fixing problems in code?

a)

debugging

b)

solution

c)

car wash

d)

wax

13.

What is the raw text, images, and other elements included in a web page?

a)

website content

b)

website

c)

element

d)

CSS

14.

This tag tells the browser what version of HTML the page is written in.

a)

<!DOCTYPE html>

b)

<head>

c)

<title>

d)

<html>

15.

A link from a hypertext file or document to another location or file, typically activated by clicking on a highlighted word or image on the screen.

a)

Hyperlink

b)

Link

c)

Connection

d)

Algorithm

16.

A collection of interlinked web pages on the World Wide Web

a)

Heading

b)

Website

c)

Digital Footprint

d)

HTML

17.

A piece of a website, marked by a start tag and often closed with an end tag

a)

HTML Element

b)

Digital Footprint

c)

Website Content

d)

Website Structure

18.

The collection of information about an individual across multiple websites on the internet

a)

HTML Element

b)

Website Content

c)

Digital Footprint

d)

HTML Tag

19.

The special set of characters that indicates the start and end of an HTML element and that element's type

a)

HTML Element

b)

Website Content

c)

HTML Tag

d)

Heading

20.

The purpose of different pieces of content in a web page, used to help the computer determine how that content should be displayed

a)

HTML Tag

b)

Website Structure

c)

Website

d)

Heading

21.

Which code defines that it contains information (sometimes called "metadata") about your web page

a)

<html>

b)

<head>

c)

<body>

d)

<p>

22.

sets the color of words in a paragraph

a)

h1 {

color: pink;

}

b)

img {

color: pink;

}

c)

body {

color: pink;

}

d)

p {

color: pink;

}

23.

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;

}

24.
Which is correct CSS syntax? 
a)
{ body; color=black;}
b)
body: color= black
c)
body {color:black;}
d)
(body color is black) 
25.
What symbols go around the properties for each CSS selector?
a)
< >
b)
[ ]
c)
{ }
d)
( )
26.
Which of the following is the largest heading? 
a)
H2
b)
H3
c)
H4
d)
H6
27.
Which CSS code is incorrect?
a)
a {color: blue;}
b)
p {font-size: 10px;}
c)
body {background-color="red";}
d)
img {width: 100%;}
28.
A selector (ex: h1{ } ) can only have 1 property
a)
true
b)
false
29.

This is a picture of a ____.

a)

CSS Rule

b)

HTML Rule

c)

Tags

d)

Coding

30.

The blue is called an _____________

a)

Declaration

b)

Selector

c)

Property

d)

Value

31.

The blue is called an _____________

a)

Declaration

b)

Selector

c)

Property

d)

Value

32.

The blue is called an _____________

a)

Declaration

b)

Selector

c)

Property

d)

Value

33.

What color will this element be?

a)

Green

b)

Blue

c)

Red

d)

No color

34.

CSS is the...

a)

language for styling web pages

b)

longitudinal compass for directions

c)

way we send information to each computer

d)

way we set up each tag