wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Html/Css Quiz Day 1

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Which of the following best describes the code to open a link in a new browser window?

a)

a href="url" target=_window"

b)

a href="url" target="new"

c)

a href="url" new

d)

a href="url" target="_blank"

2.

Which one is the correct HTML tag used for the largest heading?

a)

Heading

b)

h1

c)

Head

d)

h6

3.

In CSS, which of the following properties can be used to set the background color of an image?

a)

background-color

b)

color : background

c)

background:color

d)

color

4.

The correct sequence of HTML tags for starting a webpage is -

a)

Head, Title, HTML, body

b)

HTML, Body, Title, Head

c)

HTML, Head, Title, Body

d)

none of these

5.

From the below options, how do we create a bulleted list in HTML?

a)

<li>

b)

<ul>

c)

<list>

d)

<bl>

6.

In HTML5, which of the following tag is used to initialize the document type?

a)

<Doctype HTML>

b)

<\Doctype html>

c)

<Doctype>

d)

<!DOCTYPE html>

7.

Which character is used to represent the closing of a tag in HTML?

a)

\

b)

!

c)

/

d)

.

8.

Which of the following tags is used to create lists in HTML?

a)

<list>

b)

<a href>

c)

<li>

d)

<il>

9.

Which of the following tag is used to add an image?

a)

<img src="url">

b)

<img src=url>

c)

<image src="url">

d)

<image src=url>

10.

How to add a comment in Html?

a)

<!-- --!>

b)

<!-- -->

c)

\\

d)

<-- -->