wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Introduction to Web Technologies and Markup Languages

Total questions: 84

Worksheet time: 1hrs 24mins

Name
Class
Date
1.

Which statement best defines web technology in the context of building online experiences?

a)

Standards for printing documents offline

b)

Hardware used to host data centers

c)

Tools and techniques for creating websites

d)

Rules for securing local desktop apps

2.

Which set correctly lists common web technologies used for building and viewing sites?

a)

NoSQL, Kafka, microservices, proxies

b)

C++, Java, compilers, IDEs

c)

HTML, CSS, JavaScript, browsers

d)

SQL, Python, routers, servers

3.

Which description best distinguishes a webpage from a website?

a)

A webpage is offline storage; a website is cloud data

b)

A webpage is server hardware; a website is software

c)

A webpage is a single document; a website is linked pages

d)

A webpage is an app; a website is a database

4.

What does HTML stand for in the context of the World Wide Web?

a)

Hyper Text Markup Language

b)

High Throughput Media Loader

c)

Hyperlink Transfer Medium Layer

d)

Hierarchical Tag Management Library

5.

Which statement about markup languages is accurate for authoring web content?

a)

They compile programs into machine code

b)

They mark up documents with tags

c)

They encrypt data for secure transit

d)

They render 3D graphics on the GPU

6.

Which items are commonly included within a webpage as part of its content?

a)

Firmware drivers

b)

Audio and video

c)

Text and graphics

d)

Command line scripts

7.

What are tags in a markup language primarily used for when creating webpages?

a)

To authenticate user identities

b)

To schedule server maintenance

c)

To allocate memory for variables

d)

To indicate how content should appear

8.

Which grouping correctly identifies widely known markup languages mentioned in web development?

a)

DHTML and HTML

b)

HTML and XML

c)

CSS and JavaScript

d)

Python and SQL

9.

What best describes the backbone of the World Wide Web according to introductory material?

a)

Low-level operating kernels

b)

Peer-to-peer torrent swarms

c)

Distributed blockchain ledgers

d)

Collections of HTML files

10.

Which statement best describes hypertext in a webpage?

a)

Clickable text that navigates to another resource

b)

Formatted text that changes font and color styles

c)

Executable text that runs scripts in the browser

d)

Static text that cannot reference external resources

11.

Who is credited with creating HTML and when did this occur?

a)

Brendan Eich, early 1995

b)

Tim Berners-Lee, late 1991

c)

Bjarne Stroustrup, late 1999

d)

Linus Torvalds, mid 1991

12.

What statement best describes HTML5 in relation to HTML 4.01?

a)

A replacement removing multimedia support

b)

An extension and improvement over HTML 4.01

c)

A rollback to pre-1995 features

d)

A separate language unrelated to HTML

13.

Which statement best describes an HTML tag in a document?

a)

A keyword enclosed by angle brackets

b)

A plain text string without brackets

c)

A database field name in camelCase

d)

A runtime variable inside curly braces

14.

What are HTML tags also commonly called in web authoring?

a)

Markup indicators

b)

Script handlers

c)

Render engines

d)

Style templates

15.

Choose the correct characterization of tag names and attribute names in HTML.

a)

They are not case-sensitive

b)

They must be lowercase

c)

They require uppercase letters

d)

They are case-sensitive in head tag

16.

In a paired tag, which notation correctly shows the closing tag?

a)

<tagname>

b)

</tagname>

c)

<\tagname>

d)

None

17.

Select all items that are true for paired (container) tags.

a)

They have an opening tag

b)

They include a closing tag

c)

They wrap content between tags

d)

They never use attributes

18.

Unpaired tags are best described by which properties?

a)

They do not wrap any content

b)

They are used alone

c)

They lack a closing tag

d)

They must end with

19.

Which of the following is an example of an unpaired tag?

a)

<head>

b)

<hr>

c)

<br>

d)


<p>

20.

Where are HTML tags positioned relative to opening and closing brackets in source code?

a)

Between curly braces

b)

Between square brackets

c)

Outside the angle brackets

d)

Between the angle brackets

21.

What do HTML tags primarily do in a webpage?

a)

Execute server-side programs

b)

Store relational table rows

c)

Encrypt user data during transit

d)

Mark content and define presentation

22.

Which statement about nested HTML elements is accurate?

a)

Elements cannot be placed inside others

b)

Nesting is allowed only for empty tags

c)

Most elements can contain other elements

d)

Only the body can contain nesting

23.

What is the role of <!DOCTYPE html> ?

a)

Defines the page content

b)

Links external stylesheets

c)

Sets the page title

d)

Tells the document type

24.

Which items normally belong inside the header section () of an HTML document? Select all that apply.

a)

Metadata like author information

b)

Main visible article text

c)

Interactive page content

d)

The page title element

25.

What does the body section () primarily contain?

a)

Document type declaration

b)

Only the page title text

c)

The real content seen on screen

d)

Hidden metadata and scripts

26.

what is the purpose of the <title>Formatting Tags Example</title>

a)

Loads layout and formatting tags

b)

Defines the title of the page

c)

Displays the main body heading

d)

Holds the content of the page

27.

Which section should include tags related to layout and formatting that produce visible content?

a)

Inside the element

b)

Outside the element

c)

Inside the declaration

d)

Inside the element

28.

Select all elements that belong inside the body of a simple HTML document.

a)

Heading content

b)

Visible page text

c)

Metadata such as scripts only

d)

Images

29.

Which tool is primarily used to write HTML code before viewing it in a browser?

a)

Simple text editor like Notepad

b)

Graphic editor like Photoshop

c)

Database client like MySQL Workbench

d)

Spreadsheet program like Excel

30.

Choose the statements that accurately describe how a browser handles HTML tags.

a)

It converts tags into binary machine code

b)

It does not display the tags themselves

c)

It ignores tags and shows plain text

d)

It reads tags to determine presentation

31.

Where is the document’s title, shown in the browser’s title bar, defined?

a)

At the start of the tag

b)

Within the title tag

c)

Inside a element

d)

In the element

32.

Which statement best describes an HTML attribute?

a)

A CSS rule applied after the closing tag

b)

A comment placed outside the opening tag

c)

A property defining an element’s characteristics

d)

A script that runs inside every HTML tag

33.

Where is an HTML attribute placed within an element?

a)

Inside the opening tag

b)

Between opening and closing tags

c)

After the closing tag

d)

Inside the DOCTYPE line

34.

What are the two parts that make up every HTML attribute?

a)

Name and value

b)

Type and method

c)

Class and id

d)

Tag and selector

35.

Which attribute sets the color of visited hyperlinks on a page?

a)

text

b)

alink

c)

link

d)

vlink

36.

The background attribute expects which kind of value?

a)

A number

b)

A color name

c)

A boolean

d)

A URL

37.

Which attribute changes the color of unvisited hyperlinks?

a)

bgcolor

b)

vlink

c)

link

d)

text

38.

Select all attributes that accept a color name as their value.

a)

alink

b)

background

c)

text

d)

bgcolor

e)

vlink

39.

Which attribute sets an image as the page background?

a)

text

b)

bgcolor

c)

alink

d)

background

40.

Which tags represent the smallest heading level?

a)

h1

b)

h3

c)

h6
d)

h2

41.

How does default heading size change from H1 to H6?

a)

Alternates randomly

b)

Remains the same

c)

Decreases gradually

d)

Increases gradually

42.

Which statement about the <p> tag is accurate?

a)

It adds space before and after text automatically

b)

It draws a horizontal rule across the page

c)

It forces content onto the same line always

d)

It creates the largest heading by default

43.

You want text to continue on the next line without starting a new paragraph. Which tag should you use?

a)


<br>

b)

<p>

c)

<hr>

d)


None

44.

What happens immediately after a <br> tag in HTML?

a)

A horizontal rule is inserted

b)

A new paragraph is created

c)

Content starts on the next line

d)

Content starts on the same line

45.

Which tag is used to create a horizontal line in a webpage?

a)

<br>

b)

<p>

c)

<hr>

d)


<h1>

46.

Select all tags that are unpaired (void) in standard HTML.

a)

<br>

b)

<body>

c)


<hr>

d)

<h1>

47.

Which attribute controls horizontal positioning of the rule within its container?

a)

size

b)

color

c)

width

d)

align

e)

noshade

48.

You want a flat, solid horizontal line without the default beveled effect. Which attribute should you use on ?

a)

size

b)

noshade

c)

width

d)

align

e)

color

49.

Which pair of attributes determine the thickness and the length of a line, respectively?

a)

noshade and size

b)

color and align

c)

width and noshade

d)

align and color

e)

size and width

50.

Select ALL values that can be assigned to the align attribute of <hr>.

a)

left

b)

middle

c)

right

d)

center

51.

Which attribute directly sets the horizontal rule’s color (for example, blue)?

a)

width

b)

align

c)

noshade

d)

color

e)

size

52.

Which snippet correctly represents an HTML comment that will not appear in the browser?

a)

<-- comment goes here -->

b)

<!-- comment goes here ->

c)

<!- comment goes here ->

d)

<!-- comment goes here -->

53.

What is the primary purpose of HTML comments in source code?

a)

Execute hidden client-side scripts

b)

Improve search engine indexing visibility

c)

Style text for visual presentation

d)

Add notes or explanations for developers

54.

Select all statements that accurately describe HTML formatting tags.

a)

Examples include bold and italic tags

b)

They modify server-side logic

c)

They are never rendered by browsers

d)

They change text appearance or style

55.

A teammate wants to leave guidance inside an HTML file without showing it on the page. Which approach should they take?

a)

Use HTML comments

b)

Wrap text in

c)

Place notes inside

d)

Add remarks within

56.

Which tag conveys strong importance semantically and is typically rendered in bold by browsers?

a)

<b>

b)

<strong>

c)

<u>

d)

<i>

57.

Which tag is appropriate for emphasized text that should carry semantic meaning, usually appearing italic?

a)

monospace code

b)

reduced text size

c)

semantic emphasis

d)

purely visual italic

58.

Which tag creates subscript text positioned below the baseline?

a)

<u>

b)

<sub>

c)

<sup>

d)

<i>

59.

Which tag defines superscript text positioned above the baseline?

a)

<sub>

b)

<strong>

c)

<i>

d)

<sup>

60.

Which tag preserves spaces and line breaks exactly as authored?

a)

<pre>

b)

<strike>

c)

<blockquote>

d)

<sub>

61.

Which tag changes text size to be smaller than surrounding content?

a)

<big>

b)

<small>

c)

<font>

d)

<div>

62.

Which tag visually underlines text but provides no semantic meaning?

a)

<br>

b)

<p>

c)

<u>

d)

<head>

63.

Which tag creates a block quotation, typically shown as an indented block?

a)

<br>

b)

<pre>

c)

<p>

d)

<blockquote>

64.

Which statement correctly defines an HTML character entity?

a)

A JavaScript function escaping input

b)

A CSS rule styling special symbols

c)

A named code displaying reserved characters

d)

A URL parameter encoding whitespace

65.

What is the general syntax for an HTML entity?

a)

Starts with % and ends with &

b)

Starts with & and ends with ;

c)

Starts with # and ends with !

d)

Starts with < and ends with >

66.

Which characters require entities to appear literally in HTML text?

a)

Less-than sign

b)

Forward slash

c)

Greater-than sign

d)

Ampersand

67.

Choose the correct entity name to display the less‑than sign in HTML content.

a)

>

b)

<

c)

©

d)

&

68.

Which entity name displays the greater‑than sign?

a)

<

b)

>

c)

¥

d)

&

69.

What is the correct entity name for the literal ampersand character?

a)

&ersand;

b)

&s;

c)

d)

&

70.

Match each symbol to its correct entity name.

a)

Cent sign → ¢

b)

Pound sign → £

c)

Yen sign → ¥

d)

Euro sign → €

71.

Select all numeric entity codes that map to reserved comparison operators.

a)

€ for €

b)

< for <

c)

> for >

d)

& for &

72.

Which entity name displays the copyright symbol?

a)

&euro;

b)

&trade;

c)

&reg;

d)

&copy;

73.

Which entity name displays the trademark symbol?

a)

&euro;

b)

&trade;

c)

&reg;

d)

&copy;

74.

Which entity name displays the section symbol (§)?

a)

&euro;

b)

&trade;

c)

&sect;

d)

&copy;

75.

Which entity name displays the euro symbol (§)?

a)

&euro;

b)

&trade;

c)

&sect;

d)

&euro;

76.

You need to show literal code "if (a < b && c > d)" in HTML text. Which entities must be used to escape reserved characters?

a)

> for >

b)

< for <

c)

& for &

d)

  for spaces

77.

Which HTML element defines a hyperlink that users can click to navigate?

a)

element creating links

b)

element linking pages