HTML-CSS-JS-QUIZ
480 subscribers
Multiple choice Questions of HTML & CSS
Download Telegram
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
4%
both id and tag
10%
both tag and class
👍1🤯1
Which of the following CSS property is used to make the text bold?
Anonymous Quiz
18%
text-decoration: bold
48%
font-weight: bold
28%
font-style: bold
5%
text-align: bold
What will be the output of following CSS code?
h1 {color: "green";}
Anonymous Quiz
18%
error occurs
15%
nothings happen
13%
heading becomes dark-green
52%
heading becomes green
3%
None of the above
🤔4👍2
Which of the following CSS style property is used to specify an italic text?
Anonymous Quiz
15%
style
11%
font
68%
font-style
👍2🤯1😱1
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 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
👍2
What will be the background color of paragraph?
p {background-color:rgb(255, 0, 0);}
Anonymous Quiz
9%
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
64%
border-spacing
16%
border-style
8%
border
11%
None of the above
👍1
In following CSS code,
h1 {color:red;}
“color:red;” can be called __________
Anonymous Quiz
35%
Value
18%
Selector
6%
Id
9%
Class
27%
Declaration
4%
Rule
😁4🙏2
In following CSS code,
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
20%
Id
23%
Class
32%
All of the above
5%
None of the above
Javascript Arrays are written with ______ bracket.
Anonymous Quiz
11%
( )
32%
{ }
49%
[ ]
8%
All of the above
👍1
........... properties are written as name:value pairs, separated by commas with curly braces.
Anonymous Quiz
22%
Arrays
41%
Objects
22%
Strings
16%
All of the above
👍1
Which one is correct?

let x = "25" + "5" + "Hello"; document.getElementById("demo").innerHTML = x;
Anonymous Quiz
24%
30Hello
61%
255Hello
13%
Error
3%
No result
👍3
How many types of comments are used in Javascript ?
Anonymous Quiz
14%
1
63%
2
17%
3
7%
4