wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

QUIZ for Web Development

Total questions: 40

Worksheet time: 20mins

Name
Class
Date
1.

What is the primary function of HTML?

a)

To create databases for websites

b)

To design user interfaces for mobile apps

c)

To create and structure content on the web

d)

To manage online transactions

2.

What is the purpose of the <br> element in HTML? 

a)

To create a paragraph

b)

To create a line break

c)

To create a heading

d)

To create a table

3.

What is the purpose of the <link> element in HTML?

a)

To link to an external script

b)

To link to an external stylesheet

c)

To link to an external image

d)

To link to an external font

4.

What is the purpose of the <thead>, <tfoot>, and <tbody> elements in HTML? 

a)

To create table rows

b)

To create table columns

c)

To create table headers, footers, and bodies

d)

To create table data

5.

What is the purpose of the <colspan> attribute in HTML?

a)

To create a table footer

b)

To create a table header

c)

To join two or more rows in a table

d)

To join two or more columns in a table

6.

What is the purpose of the <table> element in HTML? 

a)

To create tables for data organization

b)

To create forms

c)

To create headings

d)

To create paragraphs

7.

What is the purpose of the <input> element in HTML? 

a)

To create forms for user input

b)

To create tables for data organization

c)

To create headings

d)

To create paragraphs

8.

What is the syntax for creating a relative URL in HTML? 

b)

<a href="image.html">Sample Products</a>

d)

<a href="image.html">https://www.google.com.ph</a>

9.

What is the purpose of the <th> element in HTML? 

a)

To create table data

b)

To create table rows

c)

To create table columns

d)

To create table headers

10.

What is the purpose of the <strong> element in HTML? 

a)

To create headings

b)

To create italic text

c)

To create bold text

d)

To create paragraphs

11.

Who introduced HTML in 1993? 

a)

Larry Page

b)

Bill Gates

c)

Steve Jobs

d)

Tim Berners-Lee

12.

What is the term for the "HyperText" part of HTML? 

a)

How users interact with web pages

b)

How content is displayed on the web

c)

How links work on the web

d)

How web pages are structured

13.

What is the purpose of the <html> element in HTML? 

a)

To create the document type definition

b)

To create the root element of the HTML document

c)

To create the page title

d)

To create the page description

14.

What is the purpose of the <meta> element in HTML? 

a)

To specify page title

b)

To specify character coding

c)

To specify page description

d)

All of the above

15.

What is the purpose of the <table> element in HTML? 

a)

To create forms

b)

To create headings

c)

To create tables for data organization

d)

To create paragraphs

16.

Which tag is used to create an unordered list in HTML?

a)

<ul>

b)

<ol>

c)

<li>

d)

<dl>

17.

What is the name of the organization responsible for managing the specifications of HTML?

a)

World Wide Web Consortium (W3C)

b)

Internet Engineering Task Force (IETF)

c)

HTML Association

d)

Web Standards Organization

18.

Which input type is used to create a radio button in an HTML form?

a)

text

b)

checkbox

c)

radio

d)

button

19.

What is the purpose of the <form> element in HTML? 

a)

To create tables

b)

To create forms for user input

c)

To create headings

d)

To create paragraphs

20.

Which tag is used to define a text area in an HTML form?

a)

<input type="text">

b)

<textarea>

c)

<form>

d)

<label>

21.

What is the name of the latest version of HTML? 

a)

HTML4

b)

HTML5

c)

HTML6

d)

HTML7

22.

Which tag is used to embed an image in an HTML webpage?

a)

<a>

b)

<img>

c)

<link>

d)

<div>

23.

What is the purpose of the <p> element in HTML? 

a)

To create headings

b)

To create paragraphs

c)

To create links

d)

To create tables

24.

What is the syntax for creating a link in HTML? 

a)

<a href="URL">Label</a> 

b)

<a label="URL">Label</a> 

c)

<a href="Label">URL</a> 

d)

<a label="Label">URL</a>

25.

What attribute is used to specify a unique ID for HTML elements?

a)

class

b)

id

c)

name

d)

value

26.

What attribute is used to specify the path of an image in the <img> tag?

a)

src

b)

href

c)

path

d)

alt

27.

What attribute is used within the <video> tag to specify a thumbnail image before playing the video?

a)

controls

b)

src

c)

poster

d)

alt

28.

What input type is used to create a checkbox in an HTML form?

a)

text

b)

checkbox

c)

radio

d)

button

29.

What is the purpose of the alt attribute in the <img> tag?

a)

To define the image source

b)

To specify the image size

c)

To provide an alternate text for the image

d)

To set the image alignment

30.

Which tag is used to define a section for navigation links?

a)

<section>

b)

<nav>

c)

<header>

d)

<footer>

31.

What tag is used to define a description list in HTML?

a)

<ol>

b)

<ul>

c)

<dl>

d)

<li>

32.

What attribute is used to specify the unique identifier for an HTML element?

a)

id

b)

class

c)

name

d)

value

33.

Which tag is used to create a canvas for drawing graphics in HTML?

a)

<img>

b)

<svg>

c)

<draw>

d)

<canvas>

34.

Which tag is used to define a text input field in an HTML form?

a)

<input type="password">

b)

<input type="email">

c)

<input type="text">

d)

<input type="submit">

35.

Which attribute is used to define the width and height of an image in HTML?

a)

alt

b)

src

c)

width and height

d)

title

36.

Which tag is used to create an ordered list in HTML?

a)

<ol>

b)

<ul>

c)

<li>

d)

<dl>

37.

What does the <span> tag primarily used for in HTML?

a)

To define a division or section

b)

To mark up or color a part of the text

c)

To create an ordered list

d)

To embed an image

38.

Which tag is used to define a term in a description list?

a)

<dt>

b)

<dd>

c)

<dl>

d)

<li>

39.

Which tag is used to define a division or section in an HTML document?

a)

<div>

b)

<section>

c)

<header>

d)

<footer>

40.

Which tag is used to embed an audio file in an HTML document?

a)

<source>

b)

<embed>

c)

<video>

d)

<audio>