Menu mobile
Home
Programming
Python Tutorial
Java Tutorial
C Tutorial
C++ Tutorial
Web Technology
HTML
CSS
Java Script
PHP
React JS
Node JS
Assignment
MS Office
HTML
CSS
Bootstrap
Java Script
JQuery
AngularJs
Project
Blog
QUIZ ON : css - SYNTAX
SYNTAX
00:00:00
English
Hindi
Question No# :
01
out of 37
Function that allow calculation in CSS?
वह फ़ंक्शन जो सीएसएस में गणना की अनुमति देता है?
A.
sum()
sum()
B.
eval()
eval()
C.
calc()
calc()
D.
total()
total()
Question No# :
02
out of 37
In how many ways can CSS be written in?
In how many ways can CSS be written in?
A.
2
2
B.
3
3
C.
4
4
D.
5
5
Question No# :
03
out of 37
Which is the correct CSS syntax written inside the style tag?
Which is the correct CSS syntax written inside the style tag?
A.
body { font-size: 20px; }
body { font-size: 20px; }
B.
body { font-size= 20px };
body { font-size= 20px };
C.
body:{ font-size: 20px; }
body:{ font-size: 20px; }
D.
body:{ font-size= 20px; }
body:{ font-size= 20px; }
Question No# :
04
out of 37
How do you insert a comment in a CSS file?
How do you insert a comment in a CSS file?
A.
// this is a comment //
// this is a comment //
B.
// this is a comment
// this is a comment
C.
' this is a comment
' this is a comment
D.
/* this is a comment */
/* this is a comment */
Question No# :
05
out of 37
Which of the following HTML attribute is used to define inline styles?
Which of the following HTML attribute is used to define inline styles?
A.
Style
Style
B.
type
type
C.
class
class
D.
None of the above
None of the above
Question No# :
06
out of 37
What type of CSS is generally recommended for designing large web pages?
What type of CSS is generally recommended for designing large web pages?
A.
Inline
Inline
B.
Internal
Internal
C.
External
External
D.
None of These
None of These
Question No# :
07
out of 37
Styles that are placed within style tag are called as:
स्टाइल टैग के भीतर रखी जाने वाली शैलियाँ कहलाती हैं:
A.
External styles
बाहरी शैलियाँ
B.
Inline styles
इनलाइन शैलियाँ
C.
Embedded styles
एंबेडेड शैलियाँ
D.
Html styles
एचटीएमएल शैलियाँ
Question No# :
08
out of 37
Where in an HTML document is the correct place to refer to an external style sheet?
एक एक्सटरनल स्टाइल शीट को संदर्भित करने के लिए HTML दस्तावेज़ में सही जगह कहाँ है?
A.
In the <body> section
In the <body> section
B.
At the end of the document
At the end of the document
C.
In the <head> section
In the <head> section
D.
Any Where in a Page
Any Where in a Page
Question No# :
09
out of 37
Which is the correct CSS syntax?
Which is the correct CSS syntax?
A.
{body;color:black;}
{body;color:black;}
B.
{body:color=black;}
{body:color=black;}
C.
body {color: black;}
body {color: black;}
D.
body:color=black;
body:color=black;
Question No# :
10
out of 37
Different ways in which css one can be added to the HTML:
विभिन्न तरीकों से सीएसएस को HTML में जोड़ा जा सकता है:
A.
Inline
Inline
B.
Internal
Internal
C.
External
External
D.
All of these
All of these
Question No# :
11
out of 37
Which CSS property is used to change the text color of an element
किसी तत्व के टेक्स्ट का रंग बदलने के लिए किस CSS प्रॉपर्टी का उपयोग किया जाता है?
A.
font-color
लिपि का रंग
B.
text-color
पाठ का रंग
C.
color
रंग
D.
text-style
पाठ शैली
Question No# :
12
out of 37
What is the purpose of the margin property in CSS
CSS में मार्जिन प्रॉपर्टी का उद्देश्य क्या है
A.
Adds space inside an element
किसी तत्व के अंदर स्थान जोड़ता है
B.
Adds space outside an element
किसी तत्व के बाहर स्थान जोड़ता है
C.
Sets the font size
फ़ॉन्ट आकार सेट करता है
D.
Changes the background color
पृष्ठभूमि का रंग बदलता है
Question No# :
13
out of 37
What type of CSS is the following code snippet? <h1 style="color:blue;">A Blue Heading</h1>
What type of CSS is the following code snippet? <h1 style="color:blue;">A Blue Heading</h1>
A.
External CSS
External CSS
B.
Internal CSS
Internal CSS
C.
Inline CSS
Inline CSS
D.
None of these
None of these
Question No# :
14
out of 37
What is the proper html syntax for referencing an external style sheet ?
एक्सटर्नल स्टाइल शीट को संदर्भित करने के लिए उचित एच टी ऍम एल सिंटैक्स क्या है?
A.
<style src="demostyle.css">
<style src="demostyle.css">
B.
<stylesheet>demostyle.css</stylesheet>
<stylesheet>demostyle.css</stylesheet>
C.
<link rel="stylesheet" type="text/css" href="demostyle.css>
<link rel="stylesheet" type="text/css" href="demostyle.css>
D.
None of these
None of these
Question No# :
15
out of 37
Which CSS property is used to set the background color of an element
किसी तत्व का पृष्ठभूमि रंग सेट करने के लिए किस CSS प्रॉपर्टी का उपयोग किया जाता है
A.
background-color
पृष्ठभूमि का रंग
B.
color
रंग
C.
bgcolor
बीजीरंग
D.
background
पृष्ठभूमि
Question No# :
16
out of 37
How do you apply inline CSS to an HTML element
आप किसी HTML तत्व पर इनलाइन CSS कैसे लागू करते हैं
A.
<style> tag
<शैली> टैग
B.
style attribute
शैली विशेषता
C.
class attribute
वर्ग विशेषता
D.
External stylesheet
बाहरी स्टाइलशीट
Question No# :
17
out of 37
What is the correct HTML for referring to an external style sheet?
एक्सटरनल स्टाइल शीट को संदर्भित करने के लिए सही HTML क्या है?
A.
<style src="mystyle.css">
<style src="mystyle.css">
B.
<stylesheet>mystyle.css</stylesheet>
<stylesheet>mystyle.css</stylesheet>
C.
<link rel="stylesheet" type="text/css" href="mystyle.css">
<link rel="stylesheet" type="text/css" href="mystyle.css">
D.
<link rel="stylesheet" type="text/css" src="mystyle.css">
<link rel="stylesheet" type="text/css" src="mystyle.css">
Question No# :
18
out of 37
CSS syntax is divided into____ part
CSS सिंटैक्स को____ भागो में विभाजित किया गया है
A.
Selector and Declaration
सिलेक्टर और डिक्लेरेशन
B.
Property name and value
प्रॉपर्टी नाम और वैल्यू
C.
Color and style
कलर और स्टाइल
D.
None-of these
इनमें से कोई नहीं
Question No# :
19
out of 37
Which tag is used to link an external style sheet to a webpage?
बाहरी स्टाइल शीट को वेबपेज से जोड़ने के लिए किस टैग का उपयोग किया जाता है?
A.
<Link> tag
लिंक टैग
B.
<Style> tag
स्टाइल टैग
C.
<Script> tag
स्क्रिप्ट टैग
D.
@media
@मीडिया
Question No# :
20
out of 37
Which CSS property is used to control the space between letters in a text
किसी टेक्स्ट में अक्षरों के बीच के स्थान को नियंत्रित करने के लिए किस CSS प्रॉपर्टी का उपयोग किया जाता है
A.
letter-spacing
पत्र अंतराल
B.
word-spacing
शब्द-अंतराल
C.
text-spacing
टेक्स्ट-स्पेसिंग
D.
line-spacing
पंक्ति रिक्ति
Question No# :
21
out of 37
CSS comments are placed within the _____
CSS टिप्पणियाँ _____ के भीतर रखी जाती हैं
A.
/ Comment /
/ Comment /
B.
/* Comment */
/* Comment */
C.
<* Comment *>
<* Comment *>
D.
<!-- Comment--!>
<!-- Comment--!>
Question No# :
22
out of 37
How many types we can apply CSS?
CSS को हम कितने प्रकार से लगा सकते हैं?
A.
1
1
B.
2
2
C.
3
3
D.
None of these
None of these
Question No# :
23
out of 37
What does the CSS property display: none; do
सीएसएस संपत्ति क्या प्रदर्शित करती है: कोई नहीं; करना
A.
Hides the element
तत्व को छुपाता है
B.
Changes the font
फ़ॉन्ट बदलता है
C.
Increases the element's size
तत्व का आकार बढ़ाता है
D.
Makes the element visible
तत्व को दृश्यमान बनाता है
Question No# :
24
out of 37
How do you link an external CSS file to an HTML document
आप किसी बाहरी CSS फ़ाइल को HTML दस्तावेज़ से कैसे लिंक करते हैं
A.
a) <link rel="stylesheet" type="text/css" href="style.css">
<लिंक rel='स्टाइलशीट' प्रकार='टेक्स्ट/सीएसएस' href='style.css'>
B.
<style src="style.css">
<स्टाइल src='style.css'>
C.
<link type="text/css" href="style.css">
<लिंक प्रकार = "टेक्स्ट/सीएसएस" href = "style.css">
D.
<style link="style.css">
<स्टाइल लिंक='स्टाइल.सीएसएस'>
Question No# :
25
out of 37
What are the two segments of a style tag?
स्टाइल टैग के दो खंड कौन से हैं?
A.
Selector and property
चयनकर्ता और संपत्ति
B.
Name and content
नाम और सामग्री
C.
Head section and body section
हेड सेक्शन और बॉडी सेक्शन
D.
None
कोई भी नहीं
Question No# :
26
out of 37
What is the purpose of the CSS float property
सीएसएस फ्लोट प्रॉपर्टी का उद्देश्य क्या है
A.
Adds rounded corners to an element
किसी तत्व में गोलाकार कोने जोड़ता है
B.
Aligns an element to the center
किसी तत्व को केंद्र में संरेखित करता है
C.
Moves an element to the left or right
किसी तत्व को बाएँ या दाएँ ले जाता है
D.
Changes the transparency of an element
किसी तत्व की पारदर्शिता को बदलता है
Question No# :
27
out of 37
Which HTML tag is used to declare internal CSS?
Which HTML tag is used to declare internal CSS?
A.
<style>
<style>
B.
<link>
<link>
C.
<script>
<script>
D.
None of these
None of these
Question No# :
28
out of 37
How can we write comments in CSS?
How can we write comments in CSS?
A.
/* Comment */
/* Comment */
B.
// Comment
// Comment
C.
# Coment
# Coment
D.
All of the above
All of the above
Question No# :
29
out of 37
What this code will happen: <p style="color:blue">text</p>
यह कोड क्या होगा: <p style="color:blue">text</p>
A.
to make that specific paragraph text color as blue
उस स्पेसिफ़िक पैराग्राफ को नीला बनाने के लिए
B.
Error
एरर
C.
nothing happen
कुछ नहीं होगा
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
30
out of 37
Which of the following is used to apply a specific rule and can never be overridden in CSS ?
निम्नलिखित में से किसका उपयोग एक विशिष्ट नियम को लागू करने के लिए किया जाता है और इसे CSS में कभी भी ओवरराइड नहीं किया जा सकता है?
A.
@important
@important
B.
!important!
!important!
C.
!important
!important
D.
important!
important!
Question No# :
31
out of 37
Name the syntax of declaring a CSS rule is:
CSS नियम घोषित करने के सिंटैक्स का नाम है:
A.
property-name=value
प्रॉपर्टी-नेम=वैल्यू
B.
property-name : value
प्रॉपर्टी-नेम:वैल्यू
C.
property-name= value
प्रॉपर्टी-नेम=वैल्यू
D.
property-name:value;
प्रॉपर्टी-नेम:वैल्यू
Question No# :
32
out of 37
<p>What will happen in the following case ?</p><pre>h1 {color: red text-decoration: underline; font-style: italic;}</pre>
<p> निम्नलिखित मामले में क्या होगा?</p><pre>h1 {color: red text-decoration: underline; font-style: italic;}</pre>
A.
color: red, text-decoration: underline and font-style: italic all works
color: red, text-decoration: underline and font-style: italic all works
B.
text-decoration: underline and font-style: italic works
text-decoration: underline and font-style: italic works
C.
color red, text-decoration: underline works
color red, text-decoration: underline works
D.
only font-style: italic works
only font-style: italic works
Question No# :
33
out of 37
Which tag is used to contain content that is related to the primary content of the webpage, but isn't the primary content of the page.
Which tag is used to contain content that is related to the primary content of the webpage, but isn't the primary content of the page.
A.
header
header
B.
footer
footer
C.
nav
nav
D.
aside
aside
Question No# :
34
out of 37
Which of the following is a correct CSS Syntax ?
निम्नलिखित में से कौन एक सही सी एस एस सिंटैक्स है?
A.
{body; color:orange;}
{body; color:orange;}
B.
{body: color=orange;}
{body: color=orange;}
C.
body:color=orange;
body:color=orange;
D.
body{color:orange}
body{color:orange}
Question No# :
35
out of 37
How to insert multiple line comments in a CSS file ?
एक सीएसएस फ़ाइल में एकाधिक लाइन कमेंट कैसे सम्मिलित करें?
A.
//statement
//statement
B.
'statement
'statement
C.
/*statement */
/*statement */
D.
// statement //
// statement //
Question No# :
36
out of 37
Which of the following represents an internal style sheet?
Which of the following represents an internal style sheet?
A.
style=”tag{property:value;}”
style=”tag{property:value;}”
B.
<style> tag{property: value;} </style>
<style> tag{property: value;} </style>
C.
css=”tag{property=value;}”
css=”tag{property=value;}”
D.
<style> tag{property=value;} </style>
<style> tag{property=value;} </style>
Question No# :
37
out of 37
Which HTML tag is used to define an internal style sheet?
Which HTML tag is used to define an internal style sheet?
A.
<css>
<css>
B.
<style>
<style>
C.
<script>
<script>
D.
<link>
<link>
CCC Online Test 2021
CCC Practice Test Hindi
Python Programming Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
Best Java Training Institute in Prayagraj (Allahabad)
Best Python Training Institute in Prayagraj (Allahabad)
O Level Online Test in Hindi
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Naukari Notification
Best Website and Software Company in Allahabad
Sarkari Exam Quiz