Font size
WorksheetsHTML Quiz
Total questions: 32
Worksheet time: 32mins
What is the purpose of the
tag in HTML?
to indicate the beginning and end of an HTML element
To create a list
To define a heading
To display an image
What is the role of the src attribute in HTML image tags?
Specifies the color of the image
Specifies the size of the image
Specifies the URL of the image to be displayed
Specifies the font of the image
Explain the use of the href attribute in HTML link tags.
Specifies the size of the link
Indicates the position of the link on the page
Specifies the URL of the page the link goes to
Defines the color of the link
Choose the correct HTML element for the largest heading:
<head>
<h6>
<h1>
<heading>
What is the correct HTML element for inserting a line break?
<br>
<break>
<lb>
What is the correct HTML for creating a hyperlink?
<a href="https://www.google.com/">Google</a>
<a> href="https://www.google.com/"Google</a>
<a href="https://www.google.com/"></a>
Which character is used to indicate an end tag?
/
^
*
<
What is the correct HTML for inserting an image?
<img href="image.gif" alt="MyImage">
<image src="image.gif" alt="MyImage">
<img alt="MyImage">image.gif</img>
<img src="image.gif" alt="MyImage">
Which HTML element defines the title of a document?
<meta>
<title>
<head>
What is the correct HTML for adding a background color?
<body color=”yellow”>
<body bgcolor=”yellow”>
<body vlink="yellow">
<body background=”yellow”>
Make the element below into a link that goes to "https://www.w3schools.com".
<a (a) "https://www.w3schools.com">This is a link</a>
<p> is the opening tag for a _____________
page
paragraph
preorder
period
HTML controls the _________ of a webpage.
feel
precision
structure
style
Web pages starts with which of the following tag?
<form>
<HTML>
<body>
<Title>
Which set contains all of the DEFAULT tags needed to create a webpage?
<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
</html>
<html>
<head>
</head>
<body>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
</head>
</html>
<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
It is the standard markup language for creating Web pages.
HTML (Hyper Text Markup Language)
Javascript
CSS (Cascading Style Sheets)
HTML tags
HTML tags are element names surrounded by __________.
<angle brackets>
(round brackets)
[square brackets]
(round brackets) and [square brackets]
The first tag in a pair is the start tag, the second tag is the __________.
new tag
end tag
last tag
old tag
The start tag is also called the ____________, and the end tag the closing tag.
start tag
beginning tag
new tag
opening tag
The end tag is written like the start tag, but with a forward slash inserted before the tag name. Which is the following is an example of a correct end tag?
<p>
<p/>
</p>
</p/>
HTML tags normally come _________ like <p> and </p>
in pairs
in groups
in one
in single
Belle is creating a simple webpage. She has asked for your opinion on what color scheme will she use on her website, what will you suggest?
a.Tell her it would look nice if she makes use of rainbow colors
a.Tell her it would look nice if she makes use of neon color
a.Tell her it would look nice if she keep it simple but appealing
a.Tell her to use dull and boring colors
The following are example of web browsers EXCEPT:
Windows
Google Chrome
Internet Explorer
Mozilla Firefox
Which is the correct syntax for a link?
<a href="url">link text</a>
<a href="url" link text>
<a href=url>link text</a>
<a href="url" link text</a>
src attribute and then displays it.Which of the following are NOT an extension file name for an image?
.jpg
.bmp
.docx
.gif
A set of pages of information on the Internet about a particular subject is called a
Website
Web browser
The tags which require opening (start) and closing (end) tags are called
Empty tags
Container tags
____________ tags do not require a closing tag in an HTML document.
Empty tags
Container tags
What should a HTML web page end with?
</html>
<head>
</end>
</body>
What does this tag stand for? <b>
bright
big
beautiful
bold
