CSS Versions

Question 1
Marks : +2 | -2
Pass Ratio : 100%
Which of the following is the CSS Extension Prefixes for Webkit?
-webkit
-o-
-web
-chrome
Explanation:
Browser sometimes adds prefixes to non-standard CSS properties. CSS Extension prefix for Webkit is -webkit which is supported by almost all ios browsers. -o is used by opera where as -moz is used by firefox browser.
Question 2
Marks : +2 | -2
Pass Ratio : 100%
Which is the latest version of CSS available?
CSS2
CSS3
CSS3.1
CSS4
Explanation:
There are three different kinds of versions of CSS i.e CSS1, CSS2 and CSS3. Out of them CSS3 is the latest version to be used.
Question 3
Marks : +2 | -2
Pass Ratio : 100%
Which of the following CSS property is used to give a line over the text?
text-decoration: underline
text-decoration: overline
text-decoration: line-through
text-decoration: none
Explanation:
Text-decoration is a CSS property used to decorate the text. The text-decoration property takes many values such as overline, underline, line-through, none, inherit, etc. Overline gives a line over the text. Underline value is used to add line under the text. None value defines a normal text. When one wants to give a line through the text, line-through value for text-property can be used.
Question 4
Marks : +2 | -2
Pass Ratio : 100%
Which CSS property is equivalent for the attribute <font>?
font-family
font-style
color
all of the mentioned
Explanation:
Both font-style and font-family are for styling the text. They show text in different kinds of styles. Color is for setting/assigning colour to text or element. The font-size property in CSS is equivalent to attribute <font>. Both of them either increase/decrease the font of text.
Question 5
Marks : +2 | -2
Pass Ratio : 100%
Which CSS property is Equivalent for the align attribute?
float
text-align
centre
float & text-align
Explanation:
In the case of some elements such as <img>, the CSS float property is more appropriate than text-align. text-align. Center attribute can only align text to center. Now-a-days it is not supported.
Question 6
Marks : +2 | -2
Pass Ratio : 100%
The first CSS specification to become an official W3C Recommendation is ___________
(X)HTML CSS
CSS level 2
CSS level 2.1
CSS level 1
Explanation:
The first CSS specification to become an official W3C Recommendation is CSS level 1, published on December 17, 1996. HÃ¥kon Wium Lie and Bert Bos are credited as the original developers.
Question 7
Marks : +2 | -2
Pass Ratio : 100%
There is no single, integrated ____________________ because it is split into separate modules.
CSS1 specification
CSS2 specification
CSS3 specification
CSS4 specification
Explanation:
Here is no single, integrated CSS4 specification,[42] because it is split into separate modules. However, there are “level 4” modules.
Question 8
Marks : +2 | -2
Pass Ratio : 100%
_________ first became a Candidate Recommendation on February 25, 2004, but it was reverted to a Working Draft on June 13, 2005 for further review.
CSS level 1
CSS level 2
CSS level 3
CSS level 2.1
Explanation:
CSS level 2 revision 1, often referred to as “CSS 2.1”, fixes errors in CSS 2, removes poorly supported or not fully interoperable features and adds already implemented browser extensions to the specification. To comply with the W3C Process for standardizing technical specifications, CSS 2.1 went back and forth between Working Draft status and Candidate Recommendation status for many years. CSS 2.1 first became a Candidate Recommendation on February 25, 2004, but it was reverted to a Working Draft on June 13, 2005 for further review.
Question 9
Marks : +2 | -2
Pass Ratio : 100%
Which CSS property is equivalent for the attribute <center>?
color
margin
align
font
Explanation:
The attribute <center> in html aligns the text in center. In CSS, this is equivalent to align property which can align text to right, left or center as per the value. Margin property sets the margin for an element. Color property is used to set/assign colour to element. Font property is for increasing/decreasing the font of text.
Question 10
Marks : +2 | -2
Pass Ratio : 100%
Unlike CSS 2, which is a large single specification defining various features?
CSS level 1
CSS level 2
CSS level 3
CSS level 2.1
Explanation:
Unlike CSS 2, which is a large single specification defining various features, CSS 3 is divided into several separate documents called “modules”. Each module adds new capabilities or extends features defined in CSS 2, preserving backward compatibility.