Question # 1 of 10 ( Start time: 02:53:23 AM ) Total Marks: 1
The first control statement in a for loop usually
Select correct option:
increments a counter
sets the termination condition
creates a control variable
All of the given
Question # 2 of 10 ( Start time: 02:54:00 AM ) Total Marks: 1
document.write(str.replace(/Microsoft/,”W3Schools”))
Select correct option:
This string object is deleting Microsoft word
This string object is concatenating the Microsoft with W3schools
This string object is replacing Microsoft with W3schools
None of these
Question # 3 of 10 ( Start time: 02:55:12 AM ) Total Marks: 1
Border-style: specifies the style of all borders in the order _________________.
Select correct option:
border top style, border right style, border bottom style, border left style
border top style, border left style, border bottom style, border right style
border bottom style, border right style, border top style, border left style
border top style, border bottom style, border bottom right, border left style
Question # 4 of 10 ( Start time: 02:55:26 AM ) Total Marks: 1
__________ is an invalid JavaScript variable.
Select correct option:
3rd_name
first_name
secondName
$myName
Question # 5 of 10 ( Start time: 02:55:33 AM ) Total Marks: 1
Which of the following is NOT an advantage of CSS?
Select correct option:
Define the look of your pages in one place
Works on version 4 browsers or newer
Easily change the look
Implement same formatting each time tag is used.
Question # 6 of 10 ( Start time: 02:55:43 AM ) Total Marks: 1
What is the correct JavaScript syntax to insert a comment that has more than one line?
Select correct option:
/*This comment has more than one line*/
/#This comment has more than one line#/
<!–This comment has more than one line–>
none of the given
Question # 7 of 10 ( Start time: 02:56:42 AM ) Total Marks: 1
var txt=”Hello World!” document.write(txt.length), it would return the length as.
Select correct option:
13
12
11
10
Question # 8 of 10 ( Start time: 02:56:53 AM ) Total Marks: 1
In Java script , New key word is used to create:
Select correct option:
Instance of method
Instance of Object
Initialize the Variable
Assign the vale of object
Question # 9 of 10 ( Start time: 02:57:04 AM ) Total Marks: 1
The second control statement in a for loop usually
Select correct option:
increments a counter
sets the termination condition
creates a control variable
none of the given
Question # 10 of 10 ( Start time: 02:57:16 AM ) Total Marks: 1
border-color: specifies the color of all borders in the order________________.
Select correct option:
border right color, border bottom color, border left color, border top color
border top color, border right color, border bottom color, border left color
border top color, border bottom color, border right color, border left color
border bottom color, border top color, border left color, border right color
Question # 1 of 10 ( Start time: 03:10:09 AM ) Total Marks: 1
document.write(str.replace(/Microsoft/,”W3Schools”))
Select correct option:
This string object is deleting Microsoft word
This string object is concatenating the Microsoft with W3schools
This string object is replacing Microsoft with W3schools
None of these
Question # 2 of 10 ( Start time: 03:10:20 AM ) Total Marks: 1
The conditional statement “i is not equal to 5” can be written as _____________.
Select correct option:
if (i<>5)
if (i != 5)
if (i not equal to 5)
if (i ! 5)
Question # 3 of 10 ( Start time: 03:10:27 AM ) Total Marks: 1
_______________ will display the border having top border = 10 pixels, bottom border =
5 pixels, left border = 20 pixels and right border = 1 pixel.
Select correct option:
border-width:10px 1px 5px 20px
border-width:5px 1px 10px 20px
border-width:10px 20px 5px 1px
border-width:5px 20px 10px 1px
Question # 4 of 10 ( Start time: 03:10:34 AM ) Total Marks: 1
What does XML stand for?
Select correct option:
eXtra Modern Link
X-Markup Language
eXtensible Markup Language
Example Markup Language
Question # 5 of 10 ( Start time: 03:10:40 AM ) Total Marks: 1
charAt() is the function/method of
Select correct option:
String object
Date object
Time object
Array object
Question # 6 of 10 ( Start time: 03:10:46 AM ) Total Marks: 1
border-color: specifies the color of all borders in the order________________.
Select correct option:
border right color, border bottom color, border left color, border top color
border top color, border right color, border bottom color, border left color
border top color, border bottom color, border right color, border left color
border bottom color, border top color, border left color, border right color
Question # 7 of 10 ( Start time: 03:10:53 AM ) Total Marks: 1
__________ is an invalid JavaScript variable.
Select correct option:
3rd_name
first_name
secondName
$myName
Question # 8 of 10 ( Start time: 03:10:59 AM ) Total Marks: 1
Which loop type always runs the enclosed code at least once
Select correct option:
do while
for
while
none of them
Question # 9 of 10 ( Start time: 03:11:04 AM ) Total Marks: 1
What is the correct HTML for adding a background color?
Select correct option:
<background>yellow</background>
<body color=”yellow”>
<body bgcolor=”yellow”>
<bgcolor>yellow</bgcolor>
Question # 10 of 10 ( Start time: 03:11:19 AM ) Total Marks: 1
The conditional statement “i is equal to 5” can be written as _____________.
Select correct option:
if (i == 5)
if (i = 5)
if (i is equal to 5)
if (i <> 5)
Question # 2 of 10 ( Start time: 03:15:14 AM ) Total Marks: 1
What is the correct HTML for making a hyperlink?
Select correct option:
<a href=”http://www.w3schools.com”> W3Schools</a>
<a name=”http://www.w3schools.com”> W3Schools.com</a>
<a url =”http://www.w3schools.com”> W3Schools.com </a>
<a>http://www.w3schools.com</a>
Question # 1 of 10 ( Start time: 04:28:17 AM ) Total Marks: 1
Date () is the ——————– of the date object which provides current date of the
system.
Select correct option:
method
property
constructor
Destructor
Question # 2 of 10 ( Start time: 04:28:24 AM ) Total Marks: 1
__________ is an invalid JavaScript variable.
Select correct option:
3rd_name
first_name
secondName
$myName
Question # 3 of 10 ( Start time: 04:28:30 AM ) Total Marks: 1
In CSS, how do you make the text bold?
Select correct option:
font:b
font-style:bold
font-size:bold
font-weight:bold
Question # 4 of 10 ( Start time: 04:28:36 AM ) Total Marks: 1
Border-width: specifies the width of all borders in the order ______________.
Select correct option:
border right width, border bottom width, border left width, border top width
border top width, border right width, border bottom width, border left width
border bottom width, border left width, border top width, border right width
border bottom width, border top width, border left width, border right width
Question # 5 of 10 ( Start time: 04:28:44 AM ) Total Marks: 1
_________ object’s properties and functions are accessible every where.
Select correct option:
Local
Global
Predefined
All of the given
Question # 6 of 10 ( Start time: 04:28:49 AM ) Total Marks: 1
What does XML stand for?
Select correct option:
eXtra Modern Link
X-Markup Language
eXtensible Markup Language
Example Markup Language
Question # 7 of 10 ( Start time: 04:28:56 AM ) Total Marks: 1
Left margin of an element can be changed using _________.
Select correct option:
padding:
margin:
margin-left:
text-indent:
Question # 8 of 10 ( Start time: 04:29:01 AM ) Total Marks: 1
___________ is a valid JavaScript variable.
Select correct option:
first_name
2nd_name
third name
*lastname*
Question # 9 of 10 ( Start time: 04:29:08 AM ) Total Marks: 1
Padding is the space between __________.
Select correct option:
Two tables
Two borders
Content and border
Border and window
Question # 10 of 10 ( Start time: 04:29:14 AM ) Total Marks: 1
Which of the following is HTML tag could not be used as CSS tag?
Select correct option:
<h1>
<style>
<a>
<p>