Font size
WorksheetsIntroduction to Web Technologies and Markup Languages
Total questions: 84
Worksheet time: 1hrs 24mins
Which statement best defines web technology in the context of building online experiences?
Standards for printing documents offline
Hardware used to host data centers
Tools and techniques for creating websites
Rules for securing local desktop apps
Which set correctly lists common web technologies used for building and viewing sites?
NoSQL, Kafka, microservices, proxies
C++, Java, compilers, IDEs
HTML, CSS, JavaScript, browsers
SQL, Python, routers, servers
Which description best distinguishes a webpage from a website?
A webpage is offline storage; a website is cloud data
A webpage is server hardware; a website is software
A webpage is a single document; a website is linked pages
A webpage is an app; a website is a database
What does HTML stand for in the context of the World Wide Web?
Hyper Text Markup Language
High Throughput Media Loader
Hyperlink Transfer Medium Layer
Hierarchical Tag Management Library
Which statement about markup languages is accurate for authoring web content?
They compile programs into machine code
They mark up documents with tags
They encrypt data for secure transit
They render 3D graphics on the GPU
Which items are commonly included within a webpage as part of its content?
Firmware drivers
Audio and video
Text and graphics
Command line scripts
What are tags in a markup language primarily used for when creating webpages?
To authenticate user identities
To schedule server maintenance
To allocate memory for variables
To indicate how content should appear
Which grouping correctly identifies widely known markup languages mentioned in web development?
DHTML and HTML
HTML and XML
CSS and JavaScript
Python and SQL
What best describes the backbone of the World Wide Web according to introductory material?
Low-level operating kernels
Peer-to-peer torrent swarms
Distributed blockchain ledgers
Collections of HTML files
Which statement best describes hypertext in a webpage?
Clickable text that navigates to another resource
Formatted text that changes font and color styles
Executable text that runs scripts in the browser
Static text that cannot reference external resources
Who is credited with creating HTML and when did this occur?
Brendan Eich, early 1995
Tim Berners-Lee, late 1991
Bjarne Stroustrup, late 1999
Linus Torvalds, mid 1991
What statement best describes HTML5 in relation to HTML 4.01?
A replacement removing multimedia support
An extension and improvement over HTML 4.01
A rollback to pre-1995 features
A separate language unrelated to HTML
Which statement best describes an HTML tag in a document?
A keyword enclosed by angle brackets
A plain text string without brackets
A database field name in camelCase
A runtime variable inside curly braces
What are HTML tags also commonly called in web authoring?
Markup indicators
Script handlers
Render engines
Style templates
Choose the correct characterization of tag names and attribute names in HTML.
They are not case-sensitive
They must be lowercase
They require uppercase letters
They are case-sensitive in head tag
In a paired tag, which notation correctly shows the closing tag?
<tagname>
</tagname>
<\tagname>
None
Select all items that are true for paired (container) tags.
They have an opening tag
They include a closing tag
They wrap content between tags
They never use attributes
Unpaired tags are best described by which properties?
They do not wrap any content
They are used alone
They lack a closing tag
They must end with
Which of the following is an example of an unpaired tag?
<head>
<hr>
<br>
<p>
Where are HTML tags positioned relative to opening and closing brackets in source code?
Between curly braces
Between square brackets
Outside the angle brackets
Between the angle brackets
What do HTML tags primarily do in a webpage?
Execute server-side programs
Store relational table rows
Encrypt user data during transit
Mark content and define presentation
Which statement about nested HTML elements is accurate?
Elements cannot be placed inside others
Nesting is allowed only for empty tags
Most elements can contain other elements
Only the body can contain nesting
What is the role of <!DOCTYPE html> ?
Defines the page content
Links external stylesheets
Sets the page title
Tells the document type
Which items normally belong inside the header section (
) of an HTML document? Select all that apply.Metadata like author information
Main visible article text
Interactive page content
The page title element
What does the body section (
) primarily contain?Document type declaration
Only the page title text
The real content seen on screen
Hidden metadata and scripts
what is the purpose of the <title>Formatting Tags Example</title>
Loads layout and formatting tags
Defines the title of the page
Displays the main body heading
Holds the content of the page
Which section should include tags related to layout and formatting that produce visible content?
Inside the
elementOutside the element
Inside the declaration
Inside the
elementSelect all elements that belong inside the body of a simple HTML document.
Heading content
Visible page text
Metadata such as scripts only
Images
Which tool is primarily used to write HTML code before viewing it in a browser?
Simple text editor like Notepad
Graphic editor like Photoshop
Database client like MySQL Workbench
Spreadsheet program like Excel
Choose the statements that accurately describe how a browser handles HTML tags.
It converts tags into binary machine code
It does not display the tags themselves
It ignores tags and shows plain text
It reads tags to determine presentation
Where is the document’s title, shown in the browser’s title bar, defined?
At the start of the tag
Within the title tag
Inside a element
In the
elementWhich statement best describes an HTML attribute?
A CSS rule applied after the closing tag
A comment placed outside the opening tag
A property defining an element’s characteristics
A script that runs inside every HTML tag
Where is an HTML attribute placed within an element?
Inside the opening tag
Between opening and closing tags
After the closing tag
Inside the DOCTYPE line
What are the two parts that make up every HTML attribute?
Name and value
Type and method
Class and id
Tag and selector
Which attribute sets the color of visited hyperlinks on a page?
text
alink
link
vlink
The background attribute expects which kind of value?
A number
A color name
A boolean
A URL
Which attribute changes the color of unvisited hyperlinks?
bgcolor
vlink
link
text
Select all attributes that accept a color name as their value.
alink
background
text
bgcolor
vlink
Which attribute sets an image as the page background?
text
bgcolor
alink
background
Which tags represent the smallest heading level?
h1
h3
h6
h2
How does default heading size change from H1 to H6?
Alternates randomly
Remains the same
Decreases gradually
Increases gradually
Which statement about the <p> tag is accurate?
It adds space before and after text automatically
It draws a horizontal rule across the page
It forces content onto the same line always
It creates the largest heading by default
You want text to continue on the next line without starting a new paragraph. Which tag should you use?
<br>
<p>
<hr>
None
What happens immediately after a <br> tag in HTML?
A horizontal rule is inserted
A new paragraph is created
Content starts on the next line
Content starts on the same line
Which tag is used to create a horizontal line in a webpage?
<br>
<p>
<hr>
<h1>
Select all tags that are unpaired (void) in standard HTML.
<br>
<body>
<hr>
<h1>
Which attribute controls horizontal positioning of the rule within its container?
size
color
width
align
noshade
You want a flat, solid horizontal line without the default beveled effect. Which attribute should you use on ?
size
noshade
width
align
color
Which pair of attributes determine the thickness and the length of a line, respectively?
noshade and size
color and align
width and noshade
align and color
size and width
Select ALL values that can be assigned to the align attribute of <hr>.
left
middle
right
center
Which attribute directly sets the horizontal rule’s color (for example, blue)?
width
align
noshade
color
size
Which snippet correctly represents an HTML comment that will not appear in the browser?
<-- comment goes here -->
<!-- comment goes here ->
<!- comment goes here ->
<!-- comment goes here -->
What is the primary purpose of HTML comments in source code?
Execute hidden client-side scripts
Improve search engine indexing visibility
Style text for visual presentation
Add notes or explanations for developers
Select all statements that accurately describe HTML formatting tags.
Examples include bold and italic tags
They modify server-side logic
They are never rendered by browsers
They change text appearance or style
A teammate wants to leave guidance inside an HTML file without showing it on the page. Which approach should they take?
Use HTML comments
Wrap text in
Place notes inside
...
Add remarks within
Which tag conveys strong importance semantically and is typically rendered in bold by browsers?
<b>
<strong>
<u>
<i>
Which tag is appropriate for emphasized text that should carry semantic meaning, usually appearing italic?
monospace code
reduced text size
semantic emphasis
purely visual italic
Which tag creates subscript text positioned below the baseline?
<u>
<sub>
<sup>
<i>
Which tag defines superscript text positioned above the baseline?
<sub>
<strong>
<i>
<sup>
Which tag preserves spaces and line breaks exactly as authored?
<pre>
<strike>
<blockquote>
<sub>
Which tag changes text size to be smaller than surrounding content?
<big>
<small>
<font>
<div>
Which tag visually underlines text but provides no semantic meaning?
<br>
<p>
<u>
<head>
Which tag creates a block quotation, typically shown as an indented block?
<br>
<pre>
<p>
<blockquote>
Which statement correctly defines an HTML character entity?
A JavaScript function escaping input
A CSS rule styling special symbols
A named code displaying reserved characters
A URL parameter encoding whitespace
What is the general syntax for an HTML entity?
Starts with % and ends with &
Starts with & and ends with ;
Starts with # and ends with !
Starts with < and ends with >
Which characters require entities to appear literally in HTML text?
Less-than sign
Forward slash
Greater-than sign
Ampersand
Choose the correct entity name to display the less‑than sign in HTML content.
>
<
©
&
Which entity name displays the greater‑than sign?
<
>
¥
&
What is the correct entity name for the literal ampersand character?
&ersand;
&s;
∧
&
Match each symbol to its correct entity name.
Cent sign → ¢
Pound sign → £
Yen sign → ¥
Euro sign → €
Select all numeric entity codes that map to reserved comparison operators.
€ for €
< for <
> for >
& for &
Which entity name displays the copyright symbol?
€
™
®
©
Which entity name displays the trademark symbol?
€
™
®
©
Which entity name displays the section symbol (§)?
€
™
§
©
Which entity name displays the euro symbol (§)?
€
™
§
€
You need to show literal code "if (a < b && c > d)" in HTML text. Which entities must be used to escape reserved characters?
> for >
< for <
& for &
for spaces
Which HTML element defines a hyperlink that users can click to navigate?
element for navigation
What does the href attribute specify in an anchor tag?
The link text color to display
The destination URL or resource
The email client to use
The image size for thumbnails
Choose all anchor tag attributes that control where or what the hyperlink points to.
style attribute setting font family
target attribute choosing browsing context
name attribute defining internal anchor
href attribute specifying target resource
Which option best describes a hyperlink?
A non-clickable caption for images
A server that hosts websites
A clickable reference to another resource
A programming variable storing text
What is the primary role of the target attribute in an anchor tag?
Control where the link opens
Validate the URL schema
Set the resource MIME type
Encrypt the linked data
Inside <a> </a> tag, what becomes part of the link?
Only the href attribute value
Only images nested directly inside
Only the visible text content
Anything placed between opening and closing tags
Which attribute set is relevant for image maps used as clickable regions?
alt attribute describing the image
map and area elements defining regions
usemap attribute referencing a map
method attribute specifying HTTP verb
Which HTML element is used to create a hyperlink?
<url>
<link>
<a>
<href>
