Which of the following CSS selectors are used to specify a group of elements?
Anonymous Quiz
10%
tag
12%
id
35%
class
29%
both id and class
5%
both id and tag
10%
both tag and class
Which of the following CSS property is used to make the text bold?
Anonymous Quiz
18%
text-decoration: bold
48%
font-weight: bold
29%
font-style: bold
6%
text-align: bold
What will be the output of following CSS code?
h1 {color: "green";}
h1 {color: "green";}
Anonymous Quiz
17%
error occurs
15%
nothings happen
13%
heading becomes dark-green
52%
heading becomes green
3%
None of the above
Which of the following CSS style property is used to specify an italic text?
Anonymous Quiz
15%
style
11%
font
68%
font-style
6%
@font-face
Which of the following is the correct syntax to link an external style sheet in the HTML file?
Anonymous Quiz
13%
<style rel=”stylesheet” link=”style.css” />
62%
<link rel=”stylesheet” href=”style.css” />
20%
<link rel=”stylesheet” src=”style.css” />
5%
<style rel=”stylesheet” src=”style.css” />
Which of the following CSS property can be used to set the image as a border instead of the border style?
Anonymous Quiz
16%
background-image-source
31%
background-image
25%
border-image-source
27%
border-image
Which tag is used in HTML file to insert the internal JavaScript?
Anonymous Quiz
8%
<link>
8%
<head>
9%
<style>
61%
<script>
12%
<Javascript>
2%
<meta>
Which one of the following is the correct way of adding the external JavaScript?
Anonymous Quiz
32%
<link rel="script" href="myScript.js">
16%
<link rel="script" src="myScript.js">
42%
<script src="myScript.js"></script>
10%
<script href="myScript.js"></script>
JavaScript is used to
Anonymous Quiz
13%
define the content of the webpages
15%
specify the layout of the webpages
64%
program the behaviour of the webpages
8%
None of the Above
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
22%
Declaration
3%
Rule
Which of the following attributes is used to specify elements to bind style rules to?
Anonymous Quiz
20%
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 -->