WorksheetsGGHS HTML Test
Total questions: 20
Worksheet time: 10mins
Which one does not have a closing tab?
<h1>
<br>
<p>
<h2>
What are the two main parts of HTML document?
Head & Body
Title & Form
Both
None
which character is used to indicate an end tag?
%
&
/
?
What are the attributes used to change the size of the image?
big, small
width, height
top, bottom
x,y
Which element tag is called the root element of HTML?
<html>
<body>
<title>
<head>
WWW stands for ________________
World wide web
World without windows
world wide warehouse
<!doctype html> is written only once in a HTML document
True
False
The purpose of 'alt' attribute in the image is to ______
It displays the name below the image
It displays the name incase image is not loaded
It shows alternative Image
In how many lines the output of this program is printed?
2
3
4
1
Which of the below code is used to align the heading to the center of the web page?
<h1 position="center">Hi</h1>
<h1 align="center">Hi</h1>
<h1 align="middle">Hi</h1>
<h1 position="middle">Hi</h1>
An empty tag contains end tag
True
False
Which tag is used to create a button?
<button>
<btn>
<click>
<b>
An attribute contains _________?
Name & Value
Name & Title
Title & Value
Title & Content
HTML was created by______?
Tim Berners-Lee
James Gosling
Dennies Ritchie
Niklaus Wirth
Which of the following tag is used to mark a begining of paragraph?
<p>
<para>
<pg>
<paragraph>
<head> Description
Defines the document type
Defines information about the document
Defines a header for the document
Defines the Document Body
Which tag is used to create a numbered list?
<ul>
<ol>
<list>
<order>
Markup refers to
Programming Language
Text Editor
Special Symbols or codes
<hr> tag is used for________?
creating new line
creating horizontal ruler
creating vertical ruler
creating header
The list of coded instructions is called___________?
Computer Program
Algorithm
Utility Program
