wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML and CSS Quiz

Total questions: 39

Worksheet time: 57mins

Name
Class
Date
1.

Telnet is used for ______.

a)

File sharing

b)

Remote login

c)

Email

d)

Web browsing

2.

Which protocol is used for web pages?

a)

FTP

b)

SMTP

c)

HTTP

d)

SNMP

3.

The tag for an ordered list is ______.

4 lines
4.

The correct tag for inserting an image is ______.

4 lines
5.

CSS can be added by ______.

a)

Inline

b)

Internal

c)

External

d)

All of the above

6.

URL stands for ______.

a)

Uniform Resource Locator

b)

Universal Reference Link

c)

Unified Resource Link

d)

Universal Resource Locator

7.

Which tag creates a table row?

4 lines
8.

A form in HTML is created using ______ tag.

4 lines
9.

JavaScript is a ______ side language.

a)

Server

b)

Client

c)

Both

d)

None

10.

Internal CSS is written inside which tag?

4 lines
11.

Which of the following is NOT a web browser?

a)

Chrome

b)

Firefox

c)

Safari

d)

Oracle

12.

Dynamic webpages are created using ______.

a)

HTML

b)

CSS

c)

Server-side scripting

d)

XML

13.

Which protocol is used to send emails?

a)

SMTP

b)

POP

c)

HTTP

d)

FTP

14.

Which CSS property controls text size?

a)

text-size

b)

font-size

c)

size

d)

fontsize

15.

Which HTML tag is used for a drop-down list?

4 lines
16.

Background image is set using ______ property.

4 lines
17.

Which list shows items with bullets?

a)

Ordered list

b)

Unordered list

c)

Descriptive list

d)

Index list

18.

In CSS, # represents a ______.

a)

Tag

b)

Class

c)

ID

d)

Element

19.

Which HTML tag creates divisions or sections?

4 lines
20.

The first page of a website is called ______.

a)

Home page

b)

Start page

c)

Index page

d)

Main page

21.

Extranet is used ______.

a)

Inside a company only

b)

By outsiders with permission

c)

For global network

d)

Only by internet providers

22.

JavaScript is embedded in HTML using ______ tag.

4 lines
23.

CSS stands for ______.

a)

Customer Style Sheet

b)

Cascading Style Sheets

c)

Computer Styling System

d)

Color Styling Sheets

24.

Which table tag creates a header cell?

4 lines
25.

HTML comments are written as ______.

4 lines
26.

Which protocol is secure version of HTTP?

a)

HTTPS

b)

FTP

c)

SSL

d)

SSH

27.

Which is NOT a form control?

a)

text

b)

checkbox

c)

radio

d)
28.

Which CSS property is used for spacing between elements?

a)

padding

b)

margin

c)

border

d)

space

29.

JavaScript external file uses extension ______.

a)

.jss

b)

.script

c)

.js

d)

.java

30.

HTTP works on which transport layer protocol?

a)

FTP

b)

TCP

c)

UDP

d)

ICMP

31.

Which of the following best describes a dynamic webpage?

a)

Changes with user input

b)

Never changes

c)

Is graphical only

d)

Is text-only

32.

Which HTML element is NOT allowed inside ?

4 lines
33.

In CSS, which property allows floating elements left or right?

a)

align

b)

position

c)

float

d)

layout

34.

A responsive webpage means the page ______.

a)

Loads faster

b)

Adjusts layout on screen size

c)

Has animations

d)

Is SEO friendly

35.

Inline CSS has ______ priority.

a)

Lowest

b)

Medium

c)

Highest

d)

No priority

36.

Which HTTP method is used to send data to the server?

a)

GET

b)

POST

c)

PUT

d)

OPTIONS

37.

Which tag is used for form grouping?

4 lines
38.

CSS property for shadow behind box:

4 lines
39.

Correct table with border code:

4 lines