NEW
Font size
WorksheetsHTML
Total questions: 30
Worksheet time: 30mins
Frameset is used to
load an image in the web page
create a frame in the web page
Divide a web page into frames
How to use space in web page
 
&npsb
None
How to merge column in HTML table
rowspan
Colspan
Colsmerge
XHTML is case sensitive
Yes
NO
What is the correct HTML element for inserting a line break?
break
br
brk
What is the correct HTML for creating a hyperlink?
<a href="https://www.eec.com">EEC</a>
<a url="https://www.eec.com">EEC</a>
<a>https://www.eec.com>EEC</a>
Which character is used to indicate an end tag?
/
>
end
How can you make a numbered list?
OL
NL
NOL
How can you make a bulleted list?
BL
UL
NL
HTML comments start with <!-- and end with -->
True
False
Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?
alt
hlp
img
What is the correct HTML element for playing video files?
<video>
<Movie>
<media>
Which
of the following tag is used to insert a line-break in HTML?
<br>
<break>
<brk>
<line-brake>
The
<hr> tag in HTML is used for -
Vertical
ruler
New
Line
new
paragraph
horizontal
ruler
horizontal
ruler
Which
of the following tag is used for inserting space in HTML?
&nsp
&nspace
 
&tab
If
"padding: 10px 5px 20px 0px" is given. What does this represent?
left:10px
, top:5px , right:20px , bottom:0px
left:10px
, top:5px , right:20px , bottom:0px
right:10px
, bottom:5px , left:20px , top:0px
bottom:10px
, left:5px , top:20px , right:0px
In
HTML5, which of the following tag is used to initialize the document type?
<DOCTYPE
html>
<!DOCTYPE
html>
<!DOC
html>
<!DOC
html>
Which
of the following is the attribute that specifies additional horizontal space,
in pixels, to be reserved on either side of an embedded item like an iframe,
applet, image, and so on?
hspace
height
hidefocus
datasrc
Which
of the option will be selected with the following code snippet?
<select>
<option selected value=”Audi”>Audi</option>
<option value=”selected”>Saab</option>
<option value=”opel”>selected</option>
<option value=”Fiat”>Fiat</option>
</select>
Audi
Selected
Fiat
Saab
Which can generate HTML dynamically on the
client but can hardly interact with the web server to perform complex tasks
like database access and image processing etc. in JSP?
Vs.JavaScript
vs.Static
HTML
Pure
Servlets
vs.Server-Side
Includes
Select
the correct among the following for linking an external style sheet
<link
rel=“stylesheet” type=“text/css” href=“style.css”>
<style
rel=“stylesheet” type=“text/css” href=“style.css”>
<link>stylesheet
<link
href=“style.css”>stylesheet
What is
the correct representation to change the color of h2 element?
h2 {
background-color: #008000 }
{h2
background-color: #008000}
h2.all{
background-color: #008000 }
{h2.all
background-color: #008000}
Which
of the following code creates an object?
var
book = new Object()
var
book = Object()
var
book = Obj()
var
book =new Obj()
What
will be the output of the following JavaScript code? var string1 =
”123”;
var intvalue = 123;
alert( string1 + intvalue );
123246
123321
321123
123123
Predict
the output of the following JavaScript code.<script
type="text/javascript">
a = 9 + "8";
document.write(a);
</script>
17
98
Compilation
Error
Error
<script
type="text/javascript">
var a="GodisGreat";
var x=a.lastIndexOf("G");
document.write(x);
</script>
5
6
7
error
<script
type="text/javascript" language="javascript">
var x=5;
var y=5;
var res=eval("x*y");
document.write(res);
</script>
"25"
25
5*5
"5*5"
Predict
the output of the following JavaScript code.<script
type="text/javascript" language="javascript">
var a = "AlltheBest";
var result = a.substring(4, 5);
document.write(result);
</script>
h
t
th
he
HTML stands for
HyperText Markup Language
HighText Machine Language
HyperText and links Markup Language
None of these
Which of the following tag is used for inserting the largest heading in HTML?
<h3>
<h1>
<h5>
<h6>
