Font size
WorksheetsHTML Basics Worksheet
Total questions: 25
Worksheet time: 13mins
What does HTML stand for?
HyperText Markup Language
Hyper Transfer Markup Language
HyperText Management Language
HighText Markup Language
What is the purpose of the tag?
To create a link
To define the root of an HTML document
To style the webpage
To add a heading
Which tag is used to define the largest heading in HTML?
<h1>
<heading>
<h6>
<header>
Which tag is used to display an image in HTML?
<picture>
<image>
<img>
<src>
Which attribute is used to specify the source of an image?
source
href
src
link
What does the tag do in HTML?
Creates a link
Creates an image
Adds a paragraph
Adds a list item
Which HTML tag is used to create an unordered list?
<ul>
<ol>
<li>
<list>
What is the purpose of the
tag in an HTML document?Contains the content of the page
Defines the title and meta-information about the page
Defines the main content
Creates a header for the page
What does the tag provide?
Defines the title of the webpage
Provides metadata like keywords and description
Creates a link to external files
Displays an image
Which tag is used to create a table in HTML?
<tr>
<table>
<td>
<th>
What does the
tag contain?Metadata information
Content of the webpage visible to the user
The header of the page
The footer of the page
Which tag is used to create a form in HTML?
<form>
<input>
<button>
<textarea>
What is the purpose of the tag in HTML?
Create a link
Add an image
Create an interactive element like a text box or button
Display a heading
What attribute is used to define a link’s destination in an tag?
href
src
target
link
Which HTML tag is used to add a line break?
<br>
<break>
<lb>
<line>
What is the correct HTML tag for inserting a line of text in italics?
<italic>
<em>
<i>
<strong>
What does the
A link to another page
A clickable button
A form input
A heading element
What does the type attribute of the
Specifies the color of the button
Specifies the style of the button
Specifies the button's function (e.g., submit, reset)
Specifies the size of the button
Which tag is used to define a paragraph in HTML?
<p>
<para>
<paragraph>
<text>
Which tag is used to define a block of text as a quote in HTML?
(a)
Which attribute is used to specify the alternative text for an image?
alt
text
title
desc
What does the
tag do in HTML?
Adds a break between paragraphs
Creates a horizontal line
Breaks a line of text and moves to the next line
Breaks a table row
Which tag is used to group inline elements in HTML?
<div>
<span>
<section>
<header>
How do you add a comment in HTML?
/* This is a comment */
// This is a comment
# This is a comment
What is the purpose of the tag in HTML?
To link to an external stylesheet
To create a hyperlink
To define a script source
To display an image
