wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Wilkam Bak HAHAHAHAHa

Total questions: 30

Worksheet time: 15mins

Name
Class
Date
1.

What does HTML stand for?

a)

Hyper Tool Markup Language

b)

Hyperlinks and Text Markup Language

c)

Hypertext Markup Language

d)

Home Tool Markup Language

2.

What does CSS stand for?

a)

Computer Style Sheet

b)

Creative Style System

c)

Colorful Style Sheet

d)

Cascading Style Sheet

3.

What is the main difference between an HTML element and an HTML tag?

a)

Tags are used in CSS, elements are used in HTML

b)

An element includes the opening tag, content, and closing tag; a tag is just the markup

c)

There is no difference

d)

Elements are newer than tags

4.

Which of the following is a block-level element?

a)

<span>

b)

<img>

c)

<a>

d)

<div>

5.

Which of the following is an inline element?

a)

<p>

b)

<span>

c)

<div>

d)

<h1>

6.

What is the primary purpose of the <div> element?

a)

To create hyperlinks

b)

To display images

c)

To group and contain other elements as a container

d)

To create lists

7.

Which element is used to create a line break in HTML?

a)

<break>

b)

<lb>

c)

<br>

d)

<line>

8.

What type of list uses numbers or letters for its items?

a)

Unordered list (<ul>)

b)

Definition list (<dl>)

c)

Ordered list (<ol>)

d)

Bulleted list

9.

Which HTML tag is used to display an image?

a)

<picture>

b)

<img>

c)

<image>

d)

<src>

10.

What attribute is required to specify the image source in an <img> tag?

a)

href

b)

link

c)

source

d)

src

11.

Which heading tag creates the largest heading?

a)

<h6>

b)

<h3>

c)

<h1>

d)

<heading>

12.

What is the correct HTML tag for creating a paragraph?

a)

<paragraph>

b)

<text>

c)

<p>

d)

<para>

13.

Block-level elements typically:

a)

Stay inline with other content

b)

Only contain text

c)

Start on a new line and take up the full width available

d)

Cannot contain other elements

14.

Inline elements typically:

a)

Start on a new line

b)

Take up the full width of their container

c)

Cannot be styled with CSS

d)

Only take up as much width as necessary

15.

What does Flexbox stand for?

a)

Flexible Box Layout

b)

Fixed Box Layout

c)

Flex Binary Exchange

d)

Flexible Border Extension

16.

Flexbox is a layout model that works in:

a)

Three dimensions

b)

Two dimensions simultaneously

c)

One dimension at a time (either row or column)

d)

Four dimensions

17.

Which CSS property is used to create a flex container?

a)

flex-container: true;

b)

display: flex;

c)

flexbox: on;

d)

container: flex;

18.

Flexbox is particularly useful for:

a)

Creating databases

b)

Server-side programming

c)

Responsive design

d)

Writing JavaScript

19.

Which tag is used to create an unordered (bulleted) list?

a)

<ol>

b)

<list>

c)

<ul>

d)

<bullet>

20.

What tag is used for individual list items in both ordered and unordered lists?

a)

<item>

b)

<list>

c)

<bullet>

d)

<li>

21.

Which of these is NOT a text-related element?

a)

<h1>

b)

<div>

c)

<p>

d)

<strong>

22.

The <br> tag is:

a)

A block-level element that needs a closing tag

b)

A self-closing inline element

c)

Used to create bold text

d)

Used to create links

23.

To make text bold in HTML, you can use:

a)

<italic>

b)

<bold>

c)

<strong>

d)

<weight>

24.

To make text italic in HTML, you can use:

a)

<slant>

b)

<em>

c)

<italic>

d)

<tilt>

25.

What is the correct way to link to an external CSS file in HTML?

a)

<style src="style.css">

b)

<css>style.css</css>

c)

<stylesheet>style.css</stylesheet>

d)

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

26.

In Flexbox, the main axis direction can be changed using:

a)

flex-axis

b)

main-direction

c)

flex-direction

d)

direction-flex

27.

Which property is used to align flex items along the main axis?

a)

align-items

b)

justify-content

c)

flex-align

d)

main-align

28.

Which HTML element is used to create a hyperlink?

a)

<link>

b)

<href>

c)

<url>

d)

<a>

29.

What attribute is used in the <a> tag to specify the link destination?

a)

src

b)

link

c)

href

d)

url

30.

Which is true about the alt attribute in the <img> tag?

a)

It's optional and only for decoration

b)

It's required and provides alternative text if the image cannot be displayed

c)

It specifies the image size

d)

It links the image to another page