Home  • Programming • CSS

Quiz-1: Basic CSS3

1. Spaces are not permitted in 1. property names 2. between unit of measurement and the number Literal

A) True
B) False

2. Media queries serve different styles to devices depending on

A) screen width and orientation
B) screen height and orientation
C) color and element
D) browser and version

3. Which of the following CSS property prefix group is correct for the Firefox, Internet Explorer, Opera, Google Chrome, and Safari respectively.

A) -moz- , -ms- , -o- , -webkit- , -webkit-
B) -moz- , -ie- , -o- , -webkit- , -webki
C) -firefox- , -ie- , -o- , -webkit- , -webki
D) -moz- , -ms- , -opera- , -webkit- , -webki
E) -moz- , -ms- , -o- , -webkit- , -saf-

4. Which of the following is the standard CSS property?

A) -moz-linear-gradient
B) -webkit-linear-gradient
C) -ms-linear-gradient
D) linear-gradient
E) -o-linear-gradient

5. How can you import basic.css file to another.css file?

A) <link href="another.css" rel="stylesheet" type="text/css" />
B) import url(another.css);
C) <style>import url(another.css);</style>
D) none

6. How can you make a comment to your CSS?

A) */ This is CSS comment /*
B) /* This is CSS comment */
C) // This is CSS comment
D) # This is CSS comment
E) <!-- This is CSS comment -->

7. Where do you create CSS?

A) in <style> element
B) at style attribute in any element
C) external file with extension .css
D) <body> element

8. The CSS3 Color module expands the type of color formats that you can use in websites to include

A) HSL and alpha transparency.
B) RGB
C) HSL
D) RBGA

9. Which of the following is a CSS rule in the code below? p{padding:10px;}

A) p{padding:10px;}
B) p
C) padding:10px;
D) {padding:10px;}

10. You can not apply more than one <style> element in one html document

A) True
B) False


Comments 3


I am good
useful to us...
nice

Share

Copyright © 2024. Powered by Intellect Software Ltd