HTML-CSS-JS-QUIZ
468 subscribers
Multiple choice Questions of HTML & CSS
Download Telegram
Which one of the following is the correct css code for :
margin-right:10px;
Anonymous Quiz
25%
margin: 10px 0px 0px 0px;
49%
margin: 0px 10px 0px 0px;
13%
margin: 0px 0px 10px 0px;
13%
margin: 0px 0px 0px 10px;
Which of the following attribute is used to provide a unique name to an element?
Anonymous Quiz
16%
class
67%
id
14%
type
3%
None of the above
Which of the following HTML tag is used to display the text with scrolling effect?
Anonymous Quiz
44%
<scroll>
44%
<marquee>
7%
<div>
4%
None of the above
Which of the following is the correct way to send mail in HTML?
Anonymous Quiz
49%
<a href = "mailto: xy@y">
16%
<a href = "xy@y">
16%
<mail xy@y</mail>
10%
<mailto:abc@j>
9%
None of the above
Which of the following is the container for <th>, and <td> ?
Anonymous Quiz
8%
<data>
75%
<table>
4%
<group>
13%
All of the above
Which of the following HTML attribute is used to define inline styles?
Anonymous Quiz
6%
type
69%
style
10%
class
5%
id
6%
link
5%
meta
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";}
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 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
What will be the background color of paragraph?
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 __________
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 __________
Anonymous Quiz
54%
Value
11%
Selector
4%
Id
7%
Class
22%
Declaration
3%
Rule