CSS MCQs for Web Developer and Managers Jobs (Test)

CSS MCQs for Web Developer and Managers Jobs (Test)

“CSS MCQs for Web Developer and Managers Jobs (Test)” is the set of frequently asked Multiple Choice questions and these MCQs are asked in different test in the past in different test. Here, we are presenting those MCQs in a different style. Let’s begin with Set 1.

Set 1: CSS Important MCQs for Web Developers – FAQ in Past Test

1. What does CSS stand for?
A. Complex Style Sheets
B. Cascading Style Sheets
C. Both A & B
D. None of these

Answer - Click Here:
B

2. How does HTML refer to an external style sheet?
A. “<style src=”mystyle.css” />”
B. “<link rel=”stylesheet” type=”text/css” href=”mystyle.css”>”
C. “<stylesheet>mystyle.css</stylesheet />”
D. Both A & B
E. None of these
Answer - Click Here:
B

3. Where is the correct place to refer an external style sheet in HTML document?
A. In the middle of the document
B. At the end of the document
C. At the top of the document
D. Both A & C
E. None of these
Answer - Click Here:
C

4. Which is the correct tag for internal style sheet in HTML?
A. <stylesheet>
B. <style>
C. <script>
D. Both A & B
E. None of these
Answer - Click Here:
B

5. To define inline styles in HTML, which attribute is used?
A. Class
B. Font
C. Style
D. Styles
E. Both C & D
F. None of these
Answer - Click Here:
C

6. Correct syntax of CSS?
A. {body;color:black}
B. {body:color=black(body}
C. body:color=black
D. body {color: black}
E. Both C & D
F. None of these
Answer - Click Here:
D

7. Correct way to insert a comment in a CSS file?
A. /* welcome to t4tutorials */
B. // welcome to t4tutorials //
C. // welcome to t4tutorials
D. ‘ welcome to t4tutorials
E. Both A & C
F. None of these
Answer - Click Here:
A

8. Which of the following is the correct property to change background color in CSS?
A. bgcolor:
B. color:
C. bg-color:
D. background-color:
E. Both C & D
F. None of these
Answer - Click Here:
D

9. How to add background color for all the h1 elements?
A. h1 {background-color:red;}
B. h1.all {background-color:red;}
C. all.h1 {background-color:red;}
D. Both A & B
E. None of these
Answer - Click Here:
A

10. How do you change the text color of an element?
A. fgcolor:
B. text-color:
C. text-color=
D. color:
E. Both C & D
F. None of these
Answer - Click Here:
D

Set 2: CSS Important MCQs for Web Managers

11. Which of the following properties of CSS is used to control the text size?
A. font-style
B. alphabet-size
C. text-size
D. Both A & C
E. None of these

Answer - Click Here:
C

12. How can we display hyperlinks without underline?
A. a {text-decoration:none}
B. a {decoration:no underline}
C. a {text-decoration:no underline}
D. a {underline:none}
E. Both A & B
F. None of these
Answer - Click Here:
A

13. How do we capitalize all the starting letters of each word?
A. text-transform: uppercase
B. You can’t do that with CSS
C. text-transform:capitalize
D. Both A & C
E. None of these
Answer - Click Here:
C

14. How can we change the font family type of an element?
A. font-fam;
B. font-family:
C. font=
D. Both B & C
E. None of these
Answer - Click Here:
B

15. Which property is used to make the text bold?
A. font-weight:bold
B. style:bold
C. font:b
D. Both B & C
E. None of these
Answer - Click Here:
A

16. Display the border which has the following properties:
The top border = 10 pixels
The bottom border = 5 pixels
The left border = 20 pixels
The right border = 1pixel?
A. border-width:10px 5px 20px 1px
B. border-width:5px 20px 10px 1px
C. border-width:10px 20px 5px 1px
D. border-width:10px 1px 5px 20px
E. Both A & D
F. None of these
Answer - Click Here:
D

17. Which of the following property is used to change the left margin of an element?
A. text-indent:
B. margin-left:
C. indent:
D. margin:
E. Both A & B
F. None of these
Answer - Click Here:
B

18. Can we use negative values when defining the spaces between the element’s border and content?
A. No
B. Yes
C. Both A & B
D. None of these
Answer - Click Here:
A

19. Make a list that lists items with squares?
A. list-style-type: square
B. type: 2
C. type: square
D. list-type: square
E. Both A & B
F. None of these
Answer - Click Here:
A

Padding property of CSS is used for?
A. Margin
B. Highlighting
C. Border
D. Space
E. Both A & B
F. None of these
Answer - Click Here:
D

20. What type of program can add interactivity to your website?
A. Marquee
B. Meta
C. Script
D. Both B & C
E. All of the above
F. None of these
Answer - Click Here:
C

Set 3: CSS Important MCQs for Jobs in Software House

21. User’s browser that can store data from web applications is called?
A. Media Storage
B. Local Storage
C. Storage
D. Server storage
E. Both A & B
F. None of these

Answer - Click Here:
B

22. How do we refer to an external style sheet?
A. Page
B. Class
C. Link/Url or path
D. Both B & C
E. None of these
Answer - Click Here:
C

23. “font-size” in CSS is called
A. Property
B. Selector
C. Property-Name
D. Rule
E. Both B & C
F. None of these
Answer - Click Here:
C

24. Which property is used to specify the bottom padding?
A. Padding-left
B. Padding-bottom
C. Padding-right
D. Padding-top
E. Both A & B
F. None of these
Answer - Click Here:
B

25. Which property is used to specify the top margin?
A. Margin-top
B. Margin-left
C. Margin
D. Margin-bottom
E. Both A & C
F. None of these
Answer - Click Here:
A

26. Select the correct statement?
A. An external style sheet can be written in HTML
B. When you have a single document use inline style sheet
C. An external style sheet is more suitable when the style is applied to many pages
D. Both A & B
E. None of these
Answer - Click Here:
C

27. Which property is used to decrease or increase the spaces between words?
A. word-space
B. space
C. word-spacing
D. Both B & C
E. None of these
Answer - Click Here:
C

28. Which property is used to change the style of the bottom border?
A. Border-bottom-style
B. Border-top-style
C. Border-left-style
D. Border-right-style
E. Both A & B
F. None of these
Answer - Click Here:
A

29. Which property is used to add or remove spaces between words of a sentence?
A. Letter-spacing
B. Word-spacing
C. Color
D. Direction
E. Both A & B
F. None of these
Answer - Click Here:
B

30. Table border is specified through?
A. table-border
B. tb-border
C. border
D. tbl-border
E. Both B & C
F. None of these
Answer - Click Here:
C

Set 4: CSS Important MCQs for Web Masters Test

31. Which statement is true?
A. By setting the display property “none” an element can be hidden.
B. By setting the block property “hidden” an element can be hidden.
C. Hiding an element can be done by setting visibility property to “hidden”
D. None of these
E. Both B & C

Answer - Click Here:
E

32. “font-size” can be relative or absolute?
A. True
B. False
C. Both A & B
D. None of these
Answer - Click Here:
A

33. Which of the following specifies sides of an element?
A. Cleared
B. Float
C. Clear
D. Both B & C
E. None of these
Answer - Click Here:
C

34. Which property is used to change or set the background color of an element?
A. Background-repeat
B. Background-color
C. Background-position
D. Background-image
E. Both B & C
F. None of these
Answer - Click Here:
B

35. Which selector is used to specify style of a single and/or unique element?
A. Class
B. Text
C. Bit
D. Id
E. Both C & D
F. None of these
Answer - Click Here:
D

36. Does the navigation bar need HTML as a base?
A. True
B. False
C. Both A & B
D. None of these
Answer - Click Here:
A

37. Where does the <link> tag goes in HTML?
A. the title section:
B. the head section:
C. the body section:
D. Both A & B
E. None of the above
Answer - Click Here:
B

38. CSS is used to define?
A. How to made HTML elements
B. How to save HTML elements
C. How to display HTML elements
D. How to send HTML elements
E. Both C & D
F. None of the above
Answer - Click Here:
C

39. CSS is created by and maintained by?
A. W3B
B. W3A
C. W3D
D. W3C
E. Both A & D
F. None of the above
Answer - Click Here:
D

40. CSS1 was created in?
A. 1996
B. 1980
C. 1985
D. 1998
E. None of the above
Answer - Click Here:
A

41. How many levels are in style sheets?
A. four level
B. three-level
C. two-level
D. One level
E. Both A & B
F. None of the above
Answer - Click Here:
B

42. Which of the following statement is an advantage of CSS?
A. High Performance
B. Superior Styles to HTM
C. Separation of document contents from document pr
D. Both A & B
E. All of the above
F. None of the above
Answer - Click Here:
E

43. The id attribute of HTML element, is defined with?
A. ”.”
B. ”_”
C. ”#”
D. ”@”
E. Both C & D
F. None of the above
Answer - Click Here:
C

Computer Science Repeated MCQs Book Download