Language:
Hindi
Bangla
Home
Guideline
Basic IT Test
HTML Test
CSS Test
(current)
JavaScript Test
SQL Test
PHP Test
Language:
Hindi
Bangla
Basic CSS Skill Tester
The exam was given 95 times.
If you answer by guessing you will not get the accurate result.
Advertisement
Which of the following is child selector ?
(space)
(>)
(+)
(~)
Which of the following is descendant selector ?
(+)
(>)
(space)
(~)
How to declare HTML element left padding ?
padding-style
padding
padding-left
padding-left-style
How to declare text weight ?
font-variant:
font-weight:
font-size:
font-family:
A class name cannot start with a ______.
small letter
capital letter
number
How to declare font family ?
font-size:
font-family:
font:
font-variant:
Which of the following is class selector ?
.p
#p
@p
p
How many animations have the property in CSS ?
9
10
6
7
Which of the following is mozilla firefox browser Vendor prefix ?
ms
o
moz
webkit
Which of the following is called opacity / transparency ?
filter:
opacity:
transform:
animation:
How to add inline CSS ?
<link rel="stylesheet" href="styles.css">
h1{color: blue;}
<style>h1{color: blue;}</style>
<h2 style="color:red">
How to remove underline from links ?
text-transformation:none
text-decoration:none
text-indent:none
text-overflow:none
Which of the following is used to create a responsive div ?
margin
float:
padding
overflow:
The ________ shorthand property sets all the top border properties in one declaration.
border-top-style
border-style
border
border-top
A id name cannot start with a _______.
capital letter
small letter
character
How to declare border style ?
border-width: medium;
border: solid;
border-style: solid;
border-color: green;
How to declare letter space ?
line-height:
letter-spacing:
text-spacing:
font-spacing:
Which of the following is the RGB color code ?
color:rgb(255,255,255);
color:#00FFFF
color:cyan
<h2 style="color:red">
How to declare HTML element bottom padding ?
padding-bottom
padding-bottom-style
padding-style
padding
What is the full meaning of CSS ?
Code Style Sheets
Code Sheets Style
Cascading Style Sheets
Cascading Sheets Style
How to declare file paths ?
<img src="picture.jpg/images/" alt="Mountain">
<img src="picture" alt="Mountain">
<img src="images/picture.jpg" alt="Mountain">
<img href="jpg.picture" alt="Mountain">
There is no difference between Class and ID.
True
False
Which of the following is the HEX color code?
color:rgb(255,255,255);
color:cyan
<h2 style="color:red">
color:#00FFFF
Which of the following is general sibling selector ?
(+)
(~)
(>)
(space)
There is no difference between margins and padding.
False
True
How to declare HTML element Width ?
wadth: 500px;
wedth: 500px;
width: 500px;
width-style: 500px;
When is the CSS discovered ?
October 10, 1996.
October 10, 1992.
October 10, 1994.
October 10, 1991.
Which one of the following can be used to specify an element stack order ?
z-index
x-index
d-index
y-index
Which of the following is sibling selector ?
(~)
(+)
(>)
(space)
Which of the following is the marker type of the list item specified ?
list-style:
list-style-position:
list-style-type:
list-style-image:
How to declare overflow ?
ovflow
overf
ovf
overflow
How many ways added css in html ?
5 ways
4 ways
6 ways
3 ways
How to declare HTML element right margin ?
margin-right
margin-style
margin-right-style
margin
Which of the following is used to determine the different style rules for different devices ?
line-height
min-height
@media
min-width
How to set the maximum height of an element.
max-height
mix-height
maxi-height
height-mix
How to add External CSS ?
<h2 style="color:red">
<link rel="stylesheet" src="styles.css">
<style>h1{color: blue;}</style>
<link rel="stylesheet" href="styles.css">
What language is css ?
server side scripting
server site programming
Style sheet
client side markup
Which of the following is used to create a animation ?
@keyframes
animation
animation-name
animation-style
Which of the following is element selector ?
@p
.p
p
#p
Which of the following is the semicolon ?
;
:
,
{ }
Which of the following is used to create a fixed background image ?
background
background-image
background-attachment
background-clip
Which is the property value of this
p{text-align:center;}
code ?
text-align:center;
p
center
text-align
How to declare Responsive width ?
width:80%;
max-width:80%;
max-width:80px;
width:80px;
How to declare text line space ?
letter-spacing:
line-height:
height:
letter-height:
How to style visited link ?
a:visit
a:visited
a:hover
a:active
Which of the following is used to create a 2D or 3D transformation to an element ?
transform
animation
transform-name
animation-name
The________shorthand property sets all the bottom border properties in one declaration.
border-bottom
border-bottom-style
border
border-style
How to add internal CSS ?
<h2 style="color:red">
<link rel="stylesheet" src="styles.css">
<link rel="stylesheet" href="styles.css">
<style>h1{color: blue;}</style>
Which of the following is the curly bracket ?
{ }
( )
[ ]
;
How to generate space around elements ?
padding
width
radius
align
Which of the following is Pseudo-element ?
p:first-line
p::first-line
#first-div
.first-div
How does HTML elements add images to the background ?
background-img: src("img_tree.png");
background-img: url("img_tree.png");
background-image: url("img_tree.png");
background-image: src("img_tree.png");
Which is the selector of this
p{text-align:center;}
code ?
{ }
p
center
text-align:
Which is the declaration of this
p{text-align:center;}
code ?
text-align:center;
p
text-align
center
How to declare class ?
<span class/"note">class declaration</span>
<span note-"class">class declaration</span>
<span note="class">class declaration</span>
<span class="note">class declaration</span>
How to Style Fonts ?
font-weight:
font-style:
font-variant:
font:
Which is the CSS update version ?
CSS
CSS 5
CSS 2
CSS 3
What is used to make text center ?
position: center
padding: auto;
margin: auto;
text-align: center;
How to declare text size ?
font-weight:
font-size:
font:
font-variant:
How to declare HTML element Maximum Width ?
width-maxi
max-width
maxi-width
width-max
Which is the property name of this
p{text-align:center;}
code ?
{ }
p
center
text-align
How to declare image border ?
border-img: url(border.png) 30 round;
border-image: url(border.png) 30 round;
border-image: src(border.png) 30 round;
border-img: src(border.png) 30 round;
Which of the following can indicate just an element from an element ?
descendant selector
adjacent sibling selector
child selector
general sibling selector
How to declare text shadow ?
font-shadow:
text-shadow:
text-indent:
shadow:
Which one of the following is used to indicate the same type of element in an element ?
Adjacent sibling selector
Child selector
Descendant selector
General sibling selector
How to declare Responsive meta ?
<meta name="responsive" content="width=device-width, initial-scale=1.0"></meta>
<meta name="responsive" content="height=device-height, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1.0"></meta>
How to declare HTML element margin ?
margin-bottom: 100px 150px 100px 80px;
margin-top: 100px 150px 100px 80px;
margin: 100px 150px 100px 80px;
margin-style: 100px 150px 100px 80px;
How to declare HTML element Minimum Width ?
width-mini
mini-width
min-width
width-min
The _________ property is used to specify uppercase and lowercase letters in a text.
letter-spacing:
text-align:
text-decoration:
text-transform:
How to declare HTML element top padding ?
padding-style
padding-top-style
padding
padding-top
How to declare HTML element bottom margin ?
margin-bottom
margin
margin-bottom-style
margin-style
Which selector of the following can indicate an element that is next to an element ?
descendant selector
child selector
adjacent sibling selector
general sibling selector
Which of the following is Internet Explorer browser Vendor prefix ?
o
moz
webkit
ms
How to declare id ?
<span id/"note">id declaration</span>
<span id="note">id declaration</span>
<span note="id">id declaration</span>
<span note-"id">id declaration</span>
Which of the following is Opera browser Vendor prefix ?
webkit
moz
o
ms
How to declare HTML element right padding ?
padding-style
padding
padding-right
padding-right-style
Which of the following is colon ?
:
;
.
/
Which of the following is the right rule of writing CSS ?
p {text-align:center;}
p {text-align:center}
p {text-align:center};
p (text-align;center;)
How to set background image area ?
background-repeat:
background-size:
background:
background-img:
How does change HTML element background color ?
color: green;
background: green;
background-color: green;
bg-color: green;
How many types of HTML color codes ?
5
2
4
6
How to declare active link style ?
a:visit
a:active
a:hover
a:visited
How to set the minimum height of an element.
height-mini
height-min
mini-height
min-height
Which of the following list items are marked in the marker ?
list-style-image:
list-style-type:
list-style-position:
list-decoration:
How to declare link hover style ?
a:active
a:hover
a:visited
a:visit
How to declare text color ?
font-style:
color:
text-color:
font:
Who has discovered CSS ?
Vint Cerf
Bill Gates
Håkon Wium Lie
Tim Berners-Lee
Which of the following is Chrome browser Vendor prefix ?
ms
moz
webkit
o
The________shorthand property sets all the left border properties in one declaration.
border-left
border-left-style
border-style
border
Which of the following is Pseudo-class ?
.first-div
p:first-child
#first-div
p::first-letter
How to declare HTML element Height ?
heigt: 100px;
haight: 100px;
height: 100px;
hight: 100px;
How to declare HTML element padding ?
padding: 50px 30px 50px 80px;
pedding-style: 50px 30px 50px 80px;
padding-right: 50px 30px 50px 80px;
padding-left: 50px 30px 50px 80px;
How to declare HTML element border radius ?
border-radius
border-style
border-color
border-width
The_________ shorthand property sets all the right border properties in one declaration.
border-right
border
border-right-style
border-style
How to declare HTML element top margin ?
margin-top
margin-top-style
margin-style
margin
Which of the following do you use an image as a list item marker ?
list-style-position:
list-style-image:
list-style-type:
list-style:
Which one of the following is used to indicate the nearest element of an element ?
child selector
adjacent sibling selector
descendant selector
general sibling selector
What is the CSS File Extension ?
.css
.style
.ssc
.scs
Which of the following is ID selector ?
#p
.p
@p
p
How to declare HTML element left margin ?
margin-left
margin
margin-style
margin-left-style