wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML Quiz 2 (25Q)

Total questions: 25

Worksheet time: 12mins

Name
Class
Date
1.

Which of the listed heading tags creates the largest heading?

a)

h2

b)

h3

c)

h4

d)

h6

2.

HTML coding involves using ____________ to create webpages.

a)

Tabs

b)

Tags

c)

Labels

d)

Quotes

3.

This coding is used to create a paragraph:

a)

<pr></pr>

b)

<p></p>

c)

<para></para>

d)

<par></par>

4.

Which is the correct HTML tag for creating an unordered list?

a)

<ul>

b)

<uline>

c)

<u>

d)

<under>

5.
HTML tags are always surrounded by
a)
( )
b)
{ }
c)
< >   
d)
"  "
6.

The 7th grade students want to make a list of the winners of a race using numbers They would use which HTML tag?

a)

<ul></ul>

b)

<ol></ol>

c)

<list></list>

7.

Everything visible on a web page goes between these two tags.

a)

<body> </body>

b)

<title> </title>

c)

<header> </header>

d)

None of the Above

8.

Which of the following creates the smallest header?

a)

<H2></H2>

b)

<H3></H3>

c)

<H4></H4>

d)

<H6></H6>

9.

What does the following statement do: color:blue;

a)

It turns the page blue

b)

It turns the text blue

c)

It turns the page anything but blue

d)

It makes a blue box around an image

10.

The tag is used for the image:

a)

<body>...</body>

b)

<br>

c)

<title>...</title>

d)

<img>

11.

Where does the content of the <title> element show up in the browser?

a)

At the top of the page.

b)

In the browser tab.

c)

It's metadata, so it doesn't show up.

d)

At the bottom of the page.

12.
What is will the highlighted tag do? <p>My favourite colour is blue<br>I support Southend United.
</p>
a)
it will make the text bold
b)
it will place the text on another line
13.

How does a page of HTML start?

a)

<@DOCTYPE html>

b)

<?DOCTYPE html>

c)

<!DOCTYPE html>

d)

</DOCTYPE html

14.

<th> is used for:

a)

one cell in a row of headers

b)

one data cell

c)

one row of headers

d)

one column of headers

15.

The use of <tr> is to add:

a)

one column on the right

b)

one cell in a table

c)

one row of table

d)

one column of table

16.
Which of the following will create a column in an HTML table?
a)
<col>
b)
<td>
c)
<tcol>
d)
<data>
17.

What does <td>mean?

a)

Table device

b)

Table draw

c)

Table data

d)

Table dominant

18.

sets the color of words in a paragraph

a)

h1 {

color: pink;

}

b)

img {

color: pink;

}

c)

body {

color: pink;

}

d)

p {

color: pink;

}

19.
What does CSS stand for? 
a)

Computer Style Sheets

b)
Cascading Style Sheets
c)

Cascading Style Standard

d)

Computer Style Standard

20.

Which is correct syntax for a single CSS declaration? 

a)
color=black;
b)
color=black
c)
color:black;
d)

colour:black;

21.

What code properly links your CSS to your HTML?

a)

<link href="styles.css">

b)

<link href="styles.css" rel="stylesheet">

c)

<link href="stylesheet" rel="styles.css">

d)

<link rel="styles.css">

22.
Which is correct CSS syntax? 
a)
{ body; color=black;}
b)
body: color= black
c)
body {color:black;}
d)
(body color is black) 
23.

Code this using CSS:

A green paragraph

a)

p {

color=green:

}

b)

p {

color:green;

}

c)

p {

colour:green:

}

24.

What is this tag <li>?

a)

list item

b)

line indent

c)

left indent

25.

Which of the following is the correct CSS link tag?

a)

<link rel="styles" href="stylesheet.css">

b)

<link href="stylesheet">

c)

<link rel="stylesheet" src="styles.css">

d)

<link rel="stylesheet" href="styles.css">