wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML Basics and Semantic HTML

Total questions: 41

Worksheet time: 21mins

Name
Class
Date
1.

ROUND 1 — HTML BASICS. What does HTML stand for?

a)

Hypertext Markup Language

b)

Hyperlink Markdown Layout

c)

High-Tech Machine Language

d)

Hyper Tool Markup

2.

ROUND 1 — HTML BASICS. What attribute does require?

a)

href

b)

id

c)

title

d)

src

3.

ROUND 1 — HTML BASICS. What does the alt attribute do?

a)

Changes text color

b)

Describes an image

c)

Creates a link

d)

Adds padding

4.

ROUND 1 — HTML BASICS. What does

contain?

a)

Title of the page

b)

Navigation links

c)

End-of-page info

d)

Images

5.

ROUND 2 — SEMANTIC HTML. What does

represent?

a)

Bottom content

b)

Top page section

c)

Sidebar

d)

Table heading

6.

ROUND 2 — SEMANTIC HTML. What does

a)

Images

b)

Videos

c)

Navigation links

d)

Comments

7.

ROUND 2 — SEMANTIC HTML. What does

do?

a)

Groups related content

b)

Embeds a link

c)

Creates a table

d)

Adds spacing

8.

ROUND 2 — SEMANTIC HTML. What does

represent?

a)

A sidebar

b)

A caption

c)

A self-contained story

d)

A list

9.

ROUND 2 — SEMANTIC HTML. What is

a)

Main content

b)

Background styles

c)

Side content

d)

Video captions

10.

ROUND 2 — SEMANTIC HTML. What does

contain?

a)

Only text

b)

Images with optional captions

c)

Audio files

d)

Page titles

11.

ROUND 2 — SEMANTIC HTML. What goes inside

?

a)

An image

b)

A paragraph

c)

A caption for

d)

A link

12.

What does CSS stand for?

a)

Creative Styling System

b)

Cascading Style Sheets

c)

Colorful Style Software

d)

Code Styling Service

13.

Which property changes text color?

a)

background-color

b)

color

c)

text-align

d)

display

14.

Which property changes background color?

a)

bg

b)

text-color

c)

background-color

d)

canvas-color

15.

Which property adds space INSIDE an element’s border?

a)

margin

b)

padding

c)

border

d)

spacing

16.

Which property adds space OUTSIDE the border?

a)

padding

b)

margin

c)

gap

d)

indent

17.

Which property controls boldness?

a)

font-style

b)

font-weight

c)

font-size

d)

letter-weight

18.

Which property changes text alignment?

a)

float

b)

position

c)

text-align

d)

justify-items

19.

Which property controls layout type?

a)

font-style

b)

display

c)

text-align

d)

margin

20.

Which property controls transparency?

a)

opacity

b)

margin

c)

border

d)

color

21.

Which CSS measurement is flexible/responsive?

a)

px

b)

em

c)

inch

d)

%

22.

Which attribute tells the form HOW to send data?

a)

action

b)

method

c)

src

d)

nav

23.

Which attribute tells WHERE the form sends data?

a)

where

b)

method

c)

src

d)

action

24.

Which is a valid form method?

a)

SEND

b)

POST

c)

PUSH

d)

EMAIL

25.

What is MP3?

a)

An audio compression format

b)

A video container format

c)

An image file format

d)

A text encoding standard

26.

What is the correct MIME type for MP4?

a)

video/mpeg

b)

video/avi

c)

video/mp4

d)

audio/mp4

27.

What does the controls attribute do in

a)

Changes volume

b)

Adds playback buttons

c)

Changes color

d)

Loads a video

28.

What’s wrong here?

Hello

a)

Missing

b)

Missing >

c)

Wrong tag

d)

Needs alt text

29.

What’s wrong here? dog

a)

Missing src

b)

Missing alt

c)

Extra bracket

d)

Needs style

30.

What’s wrong? color = blue;

a)

Missing colon

b)

Missing brackets

c)

Wrong font

d)

Missing semicolon