css-test-2025-june /30 8 123456789101112131415161718192021222324252627282930 css-test-2025-june Which of the following property specifies the order of a flexible item relative to the rest of the flexible items inside the same container? sort layout asort order Which of the following code set the webpage correctly displayed on a device? <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewports" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=2.0"> <meta name="viewport" content="width=device-width, initial-scale='parent-size'"> Which of the following measurement represent seconds? s sec second se Which of the following selector is used to selects the element that is the root of the document? :only-of-type :root ::selection :target Which of the following selector is used to selects the element that is the first child of its parent that is of its type? :last-of-type :first-of-type ::first-line :nth-child(n) How can you center an element horizontally using CSS? position: center; margin: auto; align-content: center; text-align: center; What does the CSS property "display" do? Sets the position of an element on a web page Determines how an element is displayed on a web page (inline, block, none, etc.) Sets the font size of text Changes the color of an element How do you specify multiple CSS styles for a single HTML element? You can't specify multiple styles for a single HTML element None of these Separate each style with a comma. Separate each style with a semicolon. Which of the following CSS properties specifies the stack order of elements? overlab z-index No such Specific property is present None of the above Which of the following is not a type of combinator? * > : ~ Which of the following is the correct syntax to select all paragraph elements in a div element? div#p div ~ p p div p The CSS property used to set the indentation of the first line in a block of text is - text-indent property text-overflow property text-decoration property text-stroke property Which of the following CSS property is used to specify the type of quotation mark? hyphens property None of the above z-index property quotes property ___________ is used to define a special state of an element. pseudo-element pseudo-tag pseudo-class pseudo-id Which of the following is the correct form to create Grid Template rows? grid-template-rows: 80px 200px; None of the above flex-wrap: no-wrap; A grid layout consists of a parent element, with one or more _______________________.? None of the above child elements. The Text is shown normal. the css property "order" for flex items allows you to specify in what direction the flex items appear specify in what order the flex items appear specify at what time flex items appear none of the above. flex-basis defines the boldness of the flex element if the flex element is visible the width of the flex element the base of the flex element flex-direction allows you to do what? defines how position elements horizontally define how to position elements vertically define how elements will wrap when the browser width is changed define the direction of how elements are positioned based on either row or column Which of these protocols would enable a hyperlink to easily access any file on the available local file system? ftp telnet file https Which Selector selects any element in case it is the only child element of its parent element with its type? @media :only-of-type :target ::selection Which CSS3 Color Feature could be used as a macro for any current color? HSL Color HSLa Color CurrentColor keyword RGB Color Which of these measurements would define a measurement that is relative to the x-height of a font? ex px pt em Which one is NOT the audio element’s attribute? loop src controls check The screen media type can be used with: all devices computer devices handheld screens television-type devices The CSS property that is equivalent to the align attribute is: centre text-align float text-align & float Which one of these is NOT an appropriate value for the font-variant property? small-caps default large-caps inherit Which of these functions would convert the color of an element by the filter property to a grey shade, for use? grayscale() shade() brightness() black() Which selector do we use to specify the rule for binding some particular unique element? id tag class both tag and class The “color:red” in CSS can be known as _____________: Rule Declaration Value Selector Your score is LinkedIn Facebook VKontakte 0% By Wordpress Quiz plugin