Home CSS Test Preparation Online Mcqs CSS Test Preparation Online Mcqs CSS Test Preparation Online Mcqs With Answer Start Below 12345678910111213141516171819202122232425Show paginator Hide paginator Question 1 of 25Uncategorized 1. What is CSS Float?element can be pushed to any directionallows other element to wrap around an elementelement can be pushed to the left to rightboth a and b aboveQuestion 1 of 25 Loading... Question 2 of 25 2. Which of the below is the correct way to set a font size?both a and b aboveh2{font-size:200px;}h2{font-size:200;}h2{font-size:200%;}Question 2 of 25 Loading... Question 3 of 25 3. Which of the following property specifies the top margin of an element?Margin-topMargin-leftMarginMargin-bottomQuestion 3 of 25 Loading... Question 4 of 25 4. Which of the following statements is/are true?Hiding an element can be done by setting the display property to “none”Hiding an element can be done by setting visibility property to “hidden”Hiding an element can be done by setting block property to “hidden”Both A and B aboveQuestion 4 of 25 Loading... Question 5 of 25 5. 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 5 of 25 Loading... Question 6 of 25 6. Which of the following property of a table element controls the placement of the table caption?Border-spacingEmpty-cellsCaption-sideBorder-collapseQuestion 6 of 25 Loading... Question 7 of 25 7. The ____________ selector is used to specify a style for a single, unique element?BitIdTextClassQuestion 7 of 25 Loading... Question 8 of 25 8. Which of the following property specifies the bottom padding of an element?Padding-topPadding-rightPadding-bottomPadding-leftQuestion 8 of 25 Loading... Question 9 of 25 9. Which of the following property is used to set the opacity of an image?Moz-opacityHeightBorderWidthQuestion 9 of 25 Loading... Question 10 of 25 10. A navigation bar needs standard HTML as a base?TrueFalseQuestion 10 of 25 Loading... Question 11 of 25 11. Block elements can be aligned by setting the left and right margins to “align”?FalseTrueQuestion 11 of 25 Loading... Question 12 of 25 12. _________ property can be used to Increase or decrease the space between words?word-spacingspaceBoth b and c aboveword-spaceQuestion 12 of 25 Loading... Question 13 of 25 13. The ___________ property specifies the stack order of an element?d-indexs-indexz-indexx-indexQuestion 13 of 25 Loading... Question 14 of 25 14. The _________ property is mostly used to remove underline from links?text-decotext-transtext-transformationtext-decorationQuestion 14 of 25 Loading... Question 15 of 25 15. The ____________ property specifies which sides of an element other floating elements are not allowed?ClearFloatBoth A and B aboveClearedQuestion 15 of 25 Loading... Question 16 of 25 16. 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 16 of 25 Loading... Question 17 of 25 17. To specify table border in CSS, ____________ property is used?tb-borderbordertable-bordertbl-borderQuestion 17 of 25 Loading... Question 18 of 25 18. Which of the following property changes the style of bottom border?Border-left-styleBorder-top-styleBorder-right-styleBorder-bottom-styleQuestion 18 of 25 Loading... Question 19 of 25 19. The font-size value can be an absolute, or relative size?TrueFalseQuestion 19 of 25 Loading... Question 20 of 25 20. Which of the following statements is TRUE for CSS?An inline style sheet should be used when a single document has a unique styleAn external style sheet is ideal when the style is applied to many pagesBoth A and B aboveAn external style sheet can be written in HTMLQuestion 20 of 25 Loading... Question 21 of 25Computer General 21. Which of the following is a component of CSS style rule?SelectorAll of the aboveValuePropertyQuestion 21 of 25 Loading... Question 22 of 25 22. Which of the following property is used to add or subtract space between the words of a sentence?Letter-spacingWord-spacingDirectionColorQuestion 22 of 25 Loading... Question 23 of 25 23. Which of the following defines 1% of viewport height?vhpxvwvminQuestion 23 of 25 Loading... Question 24 of 25 24. 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="fr"]p[lang|="fr"]p[lang]Question 24 of 25 Loading... Question 25 of 25 25. Which of the following property is used to set the background color of an element?Background-repeatBackground-positionBackground-colorBackground-imageQuestion 25 of 25 Loading... Loading... Related Study Posts:ASF Written Test Preparation Online McqsOnline ECAT Test Preparation McqsFPSC SST Test Preparation Mcqs OnlinePPSC Lecturer Test Preparation Online McqsLecturer Test KPPSC Preparation Mcqs OnlineTESCO Jobs Online NTS Test Preparation McqsFIA ASI Sub Inspectors Job 2024 OTS Test Preparation…SPSC SST Test Preparation Mcqs Online with SyllabusFPSC Test Preparation Mcqs Online Subject WiseIB Pakistan NTS Jobs 2024 Online Test Preparation Mcqs