NEW
Font size
WorksheetsChapter 8 html
Total questions: 40
Worksheet time: 20mins
What does HTML stand for?
High Text Markup Language
Hyper Text Markup Language
Hyperlinks and Text Markup Language
Home Tool Markup Language
What is the primary purpose of HTML?
To calculate mathematical formulas.
To tell a computer how to display a web page using tags.
To create complex database systems.
To edit photos and videos.
Which file extension must an HTML file have?
.txt or .doc
.ppt or .pptx
.htm or .html
.css or .xml
Which software application is used to read HTML documents and display them?
Word Processor (e.g., Microsoft Word)
Web Browser (e.g., Chrome, Edge, Safari)
Database Management System (e.g., Access)
Spreadsheet (e.g., Excel)
What is the recommended encoding format when saving an HTML file in Notepad?
ANSI
Unicode
UTF-8
ASCII
Which of the following is an example of an advanced HTML editor?
Microsoft Word
Adobe Dreamweaver
Microsoft Excel
Paint
What is the correct sequence of tags for a basic HTML document structure?
<html> <head> <title> ... </title> </head> <body> ... </body> </html>
<head> <html> <body> ... </body> </html> </head>
<body> <head> <title> ... </title> </head> </html>
<html> <body> <head> ... </head> </body> </html>
Which HTML element is considered the "root" element of an HTML page?
<head>
<body>
<html>
<title>
Which section of an HTML document contains the visible page content?
<head>
<title>
<body>
<html>
In the HTML structure, where should the <title> element be nested?
Inside the
section.Inside the
section.After the tag.
Before the tag.
Which tag contains meta information about the document, such as the title?
<body>
<head>
<h1>
<p>
What is the correct rule for "Nested Tags"?
You can close tags in any order.
You must close the nearest tag first (Last In, First Out).
You only need to close the first tag.
Nested tags do not need closing tags.
Which tag is used to define a heading?
<head>
<header>
<h1>
<h>
Which tag is used to create a paragraph?
<para>
<p>
<text>
<br>
Which of the following tags is an "empty element" that does NOT require a closing tag?
<p>
<h1>
<br>
<div>
To create bold text, which tag should be used?
<strong> or <b>
<bold>
<big>
<em>
The <strong> tag is similar to the <b> tag because it:
Makes the contained text italic.
Creates a hyperlink.
Makes the contained text bold.
Underlines the text.
Which HTML tag is used to define a container for a block of content (often used for layout)?
<span>
<div>
<section>
<block>
Which tag is used as a container for in-line content, such as styling a specific part of a text inside a paragraph?
<div>
<table>
<span>
<line>
Which attribute is used within the
tag to change the background color of a webpage?color
background
bgcolor
backcolor
Which tag is used to create a bulleted list?
<list>
<bl>
<li>
<bl>
Which tag is used to define an item within a list (e.g., Apple, Orange)?
<ul>
<ol>
<list>
<li>
Which tag is used to insert an image into a webpage?
<image>
<pic>
<img>
<src>
Which attribute in the tag specifies the path or filename of the image to be displayed?
href
link
src
path
The <img> tag is unique because:
It must appear in the
section.It contains attributes only and has no closing tag.
It cannot be resized.
It only works with GIF files.
Which attribute is used with the tag to specify the URL of the page the link goes to?
src
link
href
url
To create a link that opens an email program to send a message, which prefix is used in the href attribute?
sendto:
email:
mailto:
post:
Which HTML tag is used to define a row in a table?
<td>
<th>
<tr>
<tablerow>
Which HTML tag is used to define a single cell (data) in a table?
<tr>
<td>
<tc>
<cell>
Which attribute in the
