Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CSS QUIZ NO.2

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Which of the following is a selector?

a)

<h1>

b)

blue

c)

center

d)

color

2.

Add subheading

a)

<h1>

b)

<h2>

c)

<h3>

d)

<p>

3.

Create table

a)

<table>

b)

<td>

c)

<tr>

d)

<th>

4.

<style> <style>

a)

Defines internal CSS – Enables you to write CSS rules within an HTML file.

b)

inserts multiple images

c)

sets the formatting of elements on a web page

d)

create horizontal rule

5.

Which of the following tag intends to add background color?

a)

background-image: url(background.jpg)

b)

background-color:white;

c)

<img src=“name.gif” alt=“description”>

d)

<a href=“http://www.site.com”>Link</a>

6.

</html>

a)

make a hyperlink using html

b)

first line of a code in an HTML document

c)

last line of code in an HTML document

d)

change background color

7.

An external stylesheet can be written in any text editor, and must be saved with a ________ extension.

a)

.htm

b)

.css

c)

.doc

d)

.jpg

8.

CSS used to apply a unique style to a single HTML element.

a)

Inline

b)

External

c)

Internal

d)

style

9.

CSS using a <style> element in the <head> section.

a)

Inline

b)

Internal

c)

External

d)

HTML

10.

Make a table row

a)

<td>

b)

<tr>

c)

<th>

d)

<table>