Which one of the following is the correct way of a comment in CSS?
Anonymous Quiz
24%
<!— Comment—>
2%
? Comment /?
51%
/* Comment */
18%
Both a and c
2%
Both b and c
2%
All of the above
What will be the background color of paragraph?
p {background-color:rgb(255, 0, 0);}
p {background-color:rgb(255, 0, 0);}
Anonymous Quiz
8%
Green
9%
Yellow
11%
Blue
59%
Red
9%
Black
4%
Grey
Which of the following CSS property defines the space between cells in a table?
Anonymous Quiz
65%
border-spacing
16%
border-style
8%
border
11%
None of the above
In following CSS code,
h1 {color:red;}
“color:red;” can be called __________
h1 {color:red;}
“color:red;” can be called __________
Anonymous Quiz
35%
Value
18%
Selector
6%
Id
10%
Class
27%
Declaration
4%
Rule
In following CSS code,
h1 {color:red;}
"red” can be called __________
h1 {color:red;}
"red” can be called __________
Anonymous Quiz
54%
Value
11%
Selector
4%
Id
7%
Class
21%
Declaration
3%
Rule
Which of the following attributes is used to specify elements to bind style rules to?
Anonymous Quiz
19%
Tag
21%
Id
22%
Class
33%
All of the above
5%
None of the above
Javascript Arrays are written with ______ bracket.
Anonymous Quiz
11%
( )
32%
{ }
49%
[ ]
7%
All of the above
........... properties are written as name:value pairs, separated by commas with curly braces.
Anonymous Quiz
22%
Arrays
40%
Objects
22%
Strings
16%
All of the above
Which one is correct?
let x = "25" + "5" + "Hello"; document.getElementById("demo").innerHTML = x;
let x = "25" + "5" + "Hello"; document.getElementById("demo").innerHTML = x;
Anonymous Quiz
24%
30Hello
61%
255Hello
13%
Error
3%
No result
Which one is correct for Javascript Comments?
a) // Javascript Comment
b) / Javascript Comment c) <!-- Javascript Comment--> d) /* Javascript Comment */
a) // Javascript Comment
b) / Javascript Comment c) <!-- Javascript Comment--> d) /* Javascript Comment */
Anonymous Quiz
21%
a & b
14%
a & c
49%
a & d
5%
a, b & c
11%
a, c & d
In Javascript, Which one of the following is used for Single line comment?
Anonymous Quiz
9%
/ Comment
40%
// Comment
10%
/ Comment /
10%
// Comment //
23%
/* Comment */
8%
<!-- Comment -->
Let car;
document.getElementById("demo").innerHTML = car
What will be the result in browser?
document.getElementById("demo").innerHTML = car
What will be the result in browser?
Anonymous Quiz
23%
String
23%
Object
12%
Number
35%
Undefined
6%
None of the above
Variables defined with ....... cannot be Redeclared , Reassigned and have Block scope.
Anonymous Quiz
15%
let
51%
const
29%
var
4%
None of the above
In Javascript, If you want your code to run in older browser, you must use .........
Anonymous Quiz
14%
let
22%
const
56%
var
7%
None of the above
The .......... keyword is used in all JavaScript code from 1995 to 2015.
Anonymous Quiz
11%
let
16%
const
51%
var
21%
All of the above
In HTML , Which target attribute's value is used to open the document in the full body of the window ?
Anonymous Quiz
15%
_self
47%
_blank
28%
_parent
10%
_top
In HTML, which attribute is used for:
When the link is clicked, the page will scroll down or up to the location with the bookmark.
When the link is clicked, the page will scroll down or up to the location with the bookmark.
Anonymous Quiz
23%
id
34%
target
16%
meta
20%
src
8%
title
JavaScript objects are containers for named values called ...............
Anonymous Quiz
20%
Methods
33%
Properties
22%
Arrays
13%
Strings
13%
All of the above
.............. are actions that can be performed on objects.
Anonymous Quiz
39%
Methods
26%
Properties
17%
Strings
15%
Arrays
3%
None of the above