wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML & CSS 1

Total questions: 15

Worksheet time: 13mins

Name
Class
Date
1.

HTML coding involves using ____________ to create webpages.

a)

Tabs

b)

Tags

c)

Labels

d)

Quotes

2.

HTML stands for...

a)

Hyper Text Markup Language

b)

High Tech MachineLanguage

c)

High Tech Modem Language

d)

Hyper Tech Markup Lexicon

3.

HTML tags are always surrounded by

a)

( )

b)

<>

c)

{ }

d)

""

4.

Which character is used to indicate an end tag?

a)

*

b)

<

c)

/

d)

^

5.

Which tag would you use to make a heading?

a)

<heading></heading>

b)

<bigger></bigger>

c)

<h></h1>

d)

<h1></h1>

6.

Which of the following tags will create a horizontal line across the page?

a)

<hr>

b)

<line>

c)

<p>

d)

<grid>

7.

What is the correct HTML for creating a hyperlink?

a)

<a href="http://www.bbc.co.uk">BBC Website

b)

<a ="http://www.bbc.co.uk">BBC Website</a>

c)

<a href="http://www.bbc.co.uk">BBC Website</a>

d)

<a href="http://www.bbc.co.uk"

8.

Which of the following is the correct HTML syntax for inserting an image

a)

<img>apple.jpg</img>

b)

<img src="apple.jpg">

c)

<image src="apple.jpg">

d)

<img ="apple.jpg">

9.

What is the difference between HTML and CSS?

a)

HTML provides the content, CSS provides the pictures

b)

HTML provides the structure & content, CSS provides the color / look of the web page

c)

HTML and CSS are the same thing

d)

None of the above

10.

What does CSS stand for?

a)

Creative Style Sheets

b)

Cascading Style Sheets

c)

Colorful Style Spread

d)

Computer Style Spread

11.

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

12.

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.

13.

Which CSS code centres text?

a)

p {align: center;}

b)

p {text-align: center;}

c)

p {align=center;}

d)

p {center;}

14.

In your own words explain what "padding" does to the border.

4 lines
15.

In your own words explain what "border radius" does to the border.

4 lines