CSS Test Preparation Online Mcqs CSS Test Preparation Online Mcqs With Answer Start Below 12345678910111213141516171819202122232425Show paginator Hide paginator Question 1 of 25Uncategorized 1. _________ property can be used to Increase or decrease the space between words?word-spacespaceBoth b and c aboveword-spacingQuestion 1 of 25 Loading... Question 2 of 25 2. The ___________ property specifies the stack order of an element?d-indexx-indexz-indexs-indexQuestion 2 of 25 Loading... Question 3 of 25 3. Block elements can be aligned by setting the left and right margins to “align”?TrueFalseQuestion 3 of 25 Loading... Question 4 of 25 4. Which of the following ways below is correct to write a CSS?p {color:red; text-align:center};p (color:red;text-align:center;)p {color:red; text-align:center}p {color:red; text-align:center;}Question 4 of 25 Loading... Question 5 of 25 5. Which of the following statements is/are true?Hiding an element can be done by setting visibility property to “hidden”Both A and B aboveHiding an element can be done by setting the display property to “none”Hiding an element can be done by setting block property to “hidden”Question 5 of 25 Loading... Question 6 of 25 6. Which of the following property specifies the top margin of an element?Margin-bottomMargin-leftMarginMargin-topQuestion 6 of 25 Loading... Question 7 of 25 7. Which of the following property is used to set the opacity of an image?HeightWidthMoz-opacityBorderQuestion 7 of 25 Loading... Question 8 of 25 8. The _________ property is mostly used to remove underline from links?text-decorationtext-transformationtext-transtext-decoQuestion 8 of 25 Loading... Question 9 of 25 9. Which of the following property specifies the bottom padding of an element?Padding-rightPadding-leftPadding-topPadding-bottomQuestion 9 of 25 Loading... Question 10 of 25 10. What is CSS Float?allows other element to wrap around an elementelement can be pushed to the left to rightelement can be pushed to any directionboth a and b aboveQuestion 10 of 25 Loading... Question 11 of 25 11. Which of the following property changes the style of bottom border?Border-left-styleBorder-right-styleBorder-bottom-styleBorder-top-styleQuestion 11 of 25 Loading... Question 12 of 25 12. Which of the below is the correct way to set a font size?h2{font-size:200px;}both a and b aboveh2{font-size:200;}h2{font-size:200%;}Question 12 of 25 Loading... Question 13 of 25 13. The ____________ property specifies which sides of an element other floating elements are not allowed?ClearFloatClearedBoth A and B aboveQuestion 13 of 25 Loading... Question 14 of 25 14. To specify table border in CSS, ____________ property is used?tb-bordertbl-borderbordertable-borderQuestion 14 of 25 Loading... Question 15 of 25 15. Which of the following property of a table element controls the placement of the table caption?Border-spacingCaption-sideBorder-collapseEmpty-cellsQuestion 15 of 25 Loading... Question 16 of 25 16. The ____________ selector is used to specify a style for a single, unique element?ClassIdBitTextQuestion 16 of 25 Loading... Question 17 of 25 17. Which of the below is the correct way to set a background image?body {background-image:url(paper.gif);}body {background-image:url(‘paper.gif’)};body {background-image:url(‘paper.gif’);}body {background-image:url(‘paper.gif’)}Question 17 of 25 Loading... Question 18 of 25 18. A navigation bar needs standard HTML as a base?FalseTrueQuestion 18 of 25 Loading... Question 19 of 25 19. The font-size value can be an absolute, or relative size?FalseTrueQuestion 19 of 25 Loading... Question 20 of 25 20. Which of the following statements is TRUE for CSS?Both A and B aboveAn inline style sheet should be used when a single document has a unique styleAn external style sheet can be written in HTMLAn external style sheet is ideal when the style is applied to many pagesQuestion 20 of 25 Loading... Question 21 of 25Computer General 21. Which of the following property is used to set the background color of an element?Background-imageBackground-repeatBackground-colorBackground-positionQuestion 21 of 25 Loading... Question 22 of 25 22. Which of the following selector selects all paragraph elements whose lang attribute contains values that are exactly "fr", or begin with "fr-"?p[lang~="fr"]p[lang]p[lang="fr"]p[lang|="fr"]Question 22 of 25 Loading... Question 23 of 25 23. Which of the following is a component of CSS style rule?ValuePropertySelectorAll of the aboveQuestion 23 of 25 Loading... Question 24 of 25 24. Which of the following defines 1% of viewport height?vwvminvhpxQuestion 24 of 25 Loading... Question 25 of 25 25. Which of the following property is used to add or subtract space between the words of a sentence?Word-spacingColorLetter-spacingDirectionQuestion 25 of 25 Loading... Loading... Related Study Posts:ASF Written Test Preparation Online McqsFPSC SST Test Preparation Mcqs OnlineOnline ECAT Test Preparation McqsPPSC Lecturer Test Preparation Online McqsLecturer Test KPPSC Preparation Mcqs OnlineSPSC SST Test Preparation Mcqs Online with SyllabusFPSC Test Preparation Mcqs Online Subject WiseIB Pakistan NTS Jobs 2025 Online Test Preparation McqsMDCAT Test Preparation Online Related Syllabus McqsEducators Test Preparation Online Subject Wise Mcqs