wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Basics of HTML & CSS

Total questions: 10

Worksheet time: 2mins

Name
Class
Date
1.

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

2.

Which is the proper way to write an h1 tag

a)

<h1>"Hello"<h1>

b)

<h1>Hello</h1>

c)

{h1}Hello{/h1}

d)

<h>Hello<h>

3.

What is the correct HTML for creating a hyperlink?

a)

<a url="http://www.google.com">Google</a>

b)

<a href="http://www.google.com">Google</a>

c)

<a src="http://www.google.com">Google</a>

d)

<a>Google</a>

4.

What is the difference between HTML and CSS?

a)

CSS is one type of HTML

b)

HTML gives a webpage structure. CSS provides styling.

c)

CSS structures a webpage. HTML strictly provides styling.

d)

There is no difference

5.

CSS stands for

a)

Colorful style sheets

b)

Cascading style sheets

c)

Creative style spread

d)

Computer Style Spread

6.

Where in the HTML document is the correct location to insert code to link to your external CSS?

a)

At the very end of the document

b)

In the <body> section

c)

In the <head> section

d)

At the very beginning of the document

7.

If you want to have more than one property for a CSS selector, what character separates them?

a)

dash (-)

b)

semi-colon (;)

c)

colon (:)

d)

comma (,)

8.

Javasript requires a compiler.

a)

True

b)

False

9.

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; }

10.

A collection of web pages is

a)

server

b)

website

c)

www

d)

web links