HTML-CSS-JS-QUIZ
481 subscribers
Multiple choice Questions of HTML & CSS
Download Telegram
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
33%
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
40%
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
60%
255Hello
13%
Error
3%
No result
πŸ‘3
How many types of comments are used in Javascript ?
Anonymous Quiz
13%
1
63%
2
17%
3
7%
4
Which one is correct for Javascript Comments?
a) // Javascript Comment
b) / Javascript Comment c) <!-- Javascript Comment--> d) /* Javascript Comment */
Anonymous Quiz
21%
a & b
14%
a & c
48%
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 -->
πŸ‘3
Let car;
document.getElementById("demo").innerHTML = car
What will be the result in browser?
Anonymous Quiz
24%
String
24%
Object
12%
Number
34%
Undefined
6%
None of the above
πŸ‘1
Variables defined with ....... cannot be Redeclared , Reassigned and have Block scope.
Anonymous Quiz
15%
let
52%
const
29%
var
4%
None of the above
πŸ‘1🀯1
In Javascript, If you want your code to run in older browser, you must use .........
Anonymous Quiz
16%
let
21%
const
56%
var
7%
None of the above
😁2
The .......... keyword is used in all JavaScript code from 1995 to 2015.
Anonymous Quiz
11%
let
17%
const
50%
var
21%
All of the above
🀯2
In HTML , Which target attribute's value is used to open the document in the full body of the window ?
Anonymous Quiz
15%
_self
46%
_blank
28%
_parent
10%
_top
πŸ‘2🀯2
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.
Anonymous Quiz
22%
id
34%
target
16%
meta
20%
src
8%
title
😱2
JavaScript objects are containers for named values called ...............
Anonymous Quiz
20%
Methods
32%
Properties
22%
Arrays
13%
Strings
14%
All of the above
🀯2
.............. are actions that can be performed on objects.
Anonymous Quiz
38%
Methods
27%
Properties
17%
Strings
15%
Arrays
3%
None of the above
😁1🀯1
In Javascript, 'this' is a .........
Anonymous Quiz
31%
String
37%
Keyword
10%
Tag
14%
Attribute
8%
All of the above
πŸ‘2πŸ™1
HTML-CSS-JS-QUIZ pinned Β«Who is making the Web standards?Β»
HTML-CSS-JS-QUIZ pinned Β«"QuickTime" video format is created byΒ»
HTML-CSS-JS-QUIZ pinned Β«Which of the following is the correct way to send mail in HTML?Β»