KEMBAR78
OV Sample QB - HTML5 - 1 PDF | PDF | Html | Xhtml
0% found this document useful (0 votes)
337 views5 pages

OV Sample QB - HTML5 - 1 PDF

This document contains a sample question paper with questions in three categories - Simple, Average, and Difficult. The questions are multiple choice questions related to HTML5, CSS, JavaScript, and other web technologies. The question paper contains questions testing knowledge of basic HTML5 concepts in the Simple category. The Average category questions cover more intermediate level topics like HTML tags, CSS syntax, and JavaScript patterns. The Difficult questions require deeper understanding and involve coding snippets or standards.

Uploaded by

Alisha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
337 views5 pages

OV Sample QB - HTML5 - 1 PDF

This document contains a sample question paper with questions in three categories - Simple, Average, and Difficult. The questions are multiple choice questions related to HTML5, CSS, JavaScript, and other web technologies. The question paper contains questions testing knowledge of basic HTML5 concepts in the Simple category. The Average category questions cover more intermediate level topics like HTML tags, CSS syntax, and JavaScript patterns. The Difficult questions require deeper understanding and involve coding snippets or standards.

Uploaded by

Alisha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Sample Question Paper

QUESTION BANK
MODULE NAME: HTML5

Category - Simple

1) Fill in the Blank with single option:


DHTML uses ________ and CSS to make dynamic Web pages.

 a) JavaScript

b) CSS

c) XHTML

d) HTML

2) Select the correct answer with single option:


Which attribute of audio tag identifies to replay the audio once it has stopped?

a) autoplay

b) preload

 c) loop

d) autobuffer

3) Select the correct answer with single option:


Identify the satellite navigation system that provides information about the location from
any part of the globe.

a) GSM

b) Bluetooth

c) WiFi

 d) GPS

4) Select the correct answer with single option:


Identify the attribute of a span tag which is used in specifying a language code for the
content in an element, in XHTML documents.

a) lang

Aptech Limited Page 1


Sample Question Paper

 b) xml:lang

c) class

d) id

5) Select the correct answer with single option:


Which of the following escape sequence is used in JavaScript to insert a horizontal tab in
an HTML page?

a) \n

b) \r

c) \f

 d) \t

Category - Average

1) Select the correct answer with single option:


Identify the output from the following HTML code:
<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
Today is <B>Saturday</B><BR>
Saturday is a <I>Holiday</I><BR>
</BODY>
</HTML>

a) Today is Saturday Saturday is a Holiday

b) Today is Saturday Saturday is a Holiday

 c) Today is Saturday Saturday is a Holiday

d) Today is Saturday Saturday is a Holiday

2) Select the correct answer with single option:


Identify the correct syntax to insert a color picker on an HTML page.

a) <input type="color-picker" name="cpick" />

b) <color type="color-picker" name="cpick" />

Aptech Limited Page 2


Sample Question Paper

 c) <input type="color" name="cpick" />

d) <color type="color" name="cpick" />

3) Select the correct answer with single option:


Identify the category of pattern matching where characters or symbols allow matching characters
that reappear frequently in a string.

a) Position Matching

b) Character Classes

 c) Repetition

d) Back Reference

4) Select the correct answer with single option:


Identify the type of style sheet used from the following HTML text:
<! DOCTYPE HTML>
<HTML>
<HEAD>
<LINK rel="stylesheet" type="text/css" href="example.css"/>
</HEAD>
</BODY> This is the content area of the web page
</BODY>
</HTML>

a) Internal

 b) External

c) Inline

d) Indented

5) Select the correct answer with single option:


HTML5 _________ allows the user to create quadratic curves using the quadraticCurveTo()
method.

a) Map

 b) Canvas

c) WiFi

d) Bluetooth

Aptech Limited Page 3


Sample Question Paper

Category – Difficult

1) Select the correct answer with single option:


<script>
var n = 11;
var sum = 0;
do
{
sum = sum + n;
n = n + 1;
}while(n<=10)
alert('Sum = ' + sum);
</script>

a) Sum = 0

 b) Sum = 11

c) Sum = 12

d) Sum = 10

2) Select the correct answer with single option:


Identify the correct code to use image map in HTML.

a) <img source="location.jpg" width="600" height="300" alt="location"


usemap="#locationmap" /> <map name="locationmap"> <area shape="circle"
coords="0,0,150,400" href="demo.html" alt="location" /> </map>

b) <img name="location.jpg" width="600" height="300" alttext="location"


usemap="#locationmap" /> <map source="locationmap"> <area shape="circle"
coords="0,0,150,400" href="demo.html" alt="location" /> </map>

c) <img name="location.jpg" width="600" height="300" alt="location"


usemap="#locationmap" /> <map src="locationmap"> <area shape="circle"
coords="0,0,150,400" href="demo.html" alt="location" /> </map>

 d) <img src="location.jpg" width="600" height="300" alt="location"


usemap="#locationmap" /> <map name="locationmap"> <area shape="circle"
coords="0,0,150,400" href="demo.html" alt="location" /> </map>

3) Select the correct answer with single option:


Identify the correct format for using supported audio formats in HTML5.

 a) <audio controls autoplay> <source src="/audio.mp3" type="audio/mp3" /> <source


src="/audio.wav" type="audio/wav" /> Audio not supported </audio>

b) <audio controls autoplay> <source="/audio.mp3" type="audio/mp3" />


<source="/audio.wav" type="audio/wav" /> Audio not supported </audio>

Aptech Limited Page 4


Sample Question Paper

c) <audio controls autoplay> <src="/audio.mp3" type="audio/mp3" />


<src="/audio.wav" type="audio/wav" /> Audio not supported </audio>

d) <audio type="autoplay"> <source src="/audio.mp3" type="audio/mp3" /> <source


src="/audio.wav" type="audio/wav" /> Audio not supported </audio>

4) Select the correct answer with single option:


Which of the following meta tags indicates that the Web application runs in a full-screen mode?

a) <meta name=”HandheldFriendly” content=”true”/>

b) <meta name="MobileOptimized" content="width" />

 c) <meta name=”Apple-mobile-web-app-capable” content=”yes”/>

d) <meta name=”Format-detection” content=”telephone=no”/>

5) Select the correct answer with single option:


Identify the correct syntax to create a geolocation object in JavaScript.

a) var geo = windows.navigator.geolocation;

 b) var geo = window.navigator.geolocation;

c) var geo = navigator.geolocation;

d) var geo = navigator.window.geolocation;

Aptech Limited Page 5

You might also like