NEW
Font size
WorksheetsBasic HTML Tags
Total questions: 15
Worksheet time: 15mins
What does HTML stands for?
Hypertext Machine language
Hypertext and links markup language
Hypertext Markup Language
Hightext machine language
Which of the following HTML Elements is used for making any text bold ?
<i>
<b>
<p>
<li>
Which of the following HTML element is used for creating an unordered list?
<li>
<ol>
<ul>
<p>
Which of the following characters indicate closing of a tag?
/
?
\
#
How many heading tags are there in HTML5?
2
3
5
6
Which of the following attributes is used to add link to any element?
link
ref
href
newref
Which of the following is the correct way of creating an hyperlink in HTML?
<a>www.geeksforgeeks.org <Geeksforgeeks /a>
<a href=“www.geeksforgeeks.org” Geeksforgeeks /a>
<a href= “www.geeksforgeeks.org”>Geeksforgeeks</a>
<a link=“www.geeksforgeeks.org” Geeksforgeeks> </a>
Which of the following tags is used to add a line-break in HTML?
<br>
<break>
</break>
none of the above
Which among the following is the correct way in HTML to insert an image?
<img url=“https://bit.ly/2FicgIx”>Geeksforgeeks</img>
<img href=“https://bit.ly/2FicgIx” alt= “Geeksforgeeks”></img>
<img src=“https://bit.ly/2FicgIx” alt=“Geeksforgeeks”>
<image src=“https://bit.ly/2FicgIx” alt=“Geeksforgeeks”></image>
Choose the correct HTML element for the largest heading
<heading>
<h1>
<h6>
<head>
How can you open a link in a new tab/browser window?
<a href="url" target="_blank">
<a href="url" new>
<a href="url" target="new">
How can you make a numbered list?
<li>
<ol>
<ul>
<list>
HTML comments start with <!-- and end with -->
True
False
Which HTML element defines the title of a document?
<html>
<title>
<head>
<meta>
Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?
title
alt
src
color
