NEW
Font size
WorksheetsHTML Quiz
Total questions: 25
Worksheet time: 13mins
What does HTML stand for?
Hyperlink Text Making Language
Hyper Text Markup Language
High Text Machine Language
Hyper Tool Markup Language
Which HTML tag defines the document type?
<html>
<title>
<!DOCTYPE html>
<meta>
Which element is the root of an HTML page?
<head>
<body>
<html>
<title>
What tag is used to display a paragraph in HTML?
<pg>
<p>
<para>
<text>
Which of the following defines a large heading?
<heading>
<head>
<h1>
<h6>
Which tag is used to create a horizontal line?
<line />
<br />
<hr />
<break / >
The <br / > tag is an example of what type of tag?
Container tag
Empty tag
Inline tag
Block tag
What tag defines the main visible content of an HTML document?
<body>
<main>
<content>
<html>
The tag used to create a line break is _______.
<lb />
<ln / >
<br / >
<div / >
Which of the following tags does not require a closing tag?
</h1>
</p>
<br / >
<div/>
Which attribute can be used to set the background color of a webpage?
bgcolor
background
bg
backcolor
In <body bgcolor = "black" text="white">, what does text="white" do?
Sets font type
Sets paragraph color
Sets text color
Sets background color
What is the correct tag to create the title of a web page (displayed in browser tab)?
<header>
<head>
<title>
<heading>
Which of the following is an HTML element?
<p> only
<p>This is a paragraph</p>
This is a paragraph only
</p>
A tag that has both opening and closing tags is called a:
Empty tag
Void tag
Container tag
Break tag
Which attribute aligns text horizontally within a tag?
align
text
position
layout
What are the two parts of an HTML attribute?
Tag and property
Name and value
Text and color
Command and code
The attribute that specifies the text color of a webpage is ______.
align
bgcolor
color
text
What does HTML use to describe the structure of a web page?
Tags and elements
Design tools
Scripts
Images
The tag <h6>
defines ______.
A paragraph
A smallest heading
The largest heading
A body section
What is the purpose of HTML formatting tags?
To add comments in the HTML code
To format text for better look and feel
To insert links into a webpage
To define the structure of a webpage
Which tag highlights or marks a specific portion of text?
<u>
<mark>
<b>
<em>
What tag is used to underline text in HTML?
<highlight>
<ul>
<under>
<u>
Which tag reduces the size of the text compared to the normal font size?
<small>
<tiny>
<sub>
<font>
Which tag is used to display text half a character’s height above the rest?
<sub>
<mark>
<sup>
<big>
