oct-2024 0% 1 1234567891011121314151617181920212223242526272829 august-2024 1 / 29 Which Selector selects any element in case it is the only child element of its parent element with its type? :target :only-of-type @media ::selection 2 / 29 Can negative values be allowed in padding property? Yes No Depends on property None of the above 3 / 29 Which of the following css property is used to indicate if an animation plays in reverse or repeats itself every other iteration? animation-iteration animation-check animation-direction animation-state 4 / 29 Which selector do we use to specify the rule for binding some particular unique element? class tag both tag and class id 5 / 29 What value should be passed to the width parameter if we want an element, say a table, to span the entire width of the screen? 100% 50% 0% None of the above 6 / 29 What does the CSS property "display" do? Sets the position of an element on a web page Changes the color of an element Sets the font size of text Determines how an element is displayed on a web page (inline, block, none, etc.) 7 / 29 Which of the following CSS properties specifies the stack order of elements? z-index overlab No such Specific property is present None of the above 8 / 29 How can you center an element horizontally using CSS? text-align: center; margin: auto; align-content: center; position: center; 9 / 29 which css property is used to show arrow as cursor? pointer arrow default arr 10 / 29 Which of the following property applies one or more shadows to text? text-shadow shadowed shadow word-shadow 11 / 29 In the below code snippet, in what order will the margins be added? Top,Right,Bottom,Left Left,Right,Top,Bottom Top,Bottom,Left,Right Left,Top,Bottom,Right 12 / 29 Which of the following css property allows elements to be offset, rotated, scaled, and skewed in a variety of different ways? transform-3D transform-origin transform transition 13 / 29 How do you specify multiple CSS styles for a single HTML element? Separate each style with a comma. You can't specify multiple styles for a single HTML element Separate each style with a semicolon. None of these 14 / 29 How can we specify the spacing between each letter in a text in CSS? alpha-spacing letter-spacing character-spacing None of the above 15 / 29 What will be the width of the div element given below? div { width: 310px; padding: 20px; border: 5px solid blue; margin: 0; } 310px 350px 360px 320px 16 / 29 Which of the following property allows a marquee to be used in the case of a text-overflow? overflow-marquee overflow-style overflow-text None of the above 17 / 29 Which of the following property sets the alignment of the last line of a text block? overflow-wrap text-align-last text-transform text-indent 18 / 29 The CSS property that is equivalent to the align attribute is: text-align float text-align & float centre 19 / 29 The screen media type can be used with: television-type devices computer devices handheld screens all devices 20 / 29 Which property sets the actual amount of spacing between the various letters? letter-spacing letter-space line-height space 21 / 29 Which of the following CSS property is used to control the visibility of an element? display visibility hidden None of these 22 / 29 The CSS property that is primarily used for giving a line over a text would be: text-decoration: none text-decoration: line-through text-decoration: underline text-decoration: overline 23 / 29 Which of the following property converts text to initial capitals, all uppercase, or all lowercase? text-transform text text-decoration text-uppercase 24 / 29 Which one of these is NOT an appropriate value for the font-variant property? small-caps large-caps default inherit 25 / 29 The transparent keyword is equivalent to which RGBA() value in CSS? RGBA(0,0,0,1) RGBA(255,255,255,1) RGBA(0,0,0,0) RGBA(255,255,255,0) 26 / 29 Which value is a slightly bolder weight than the standard bold in the font attribute? dark lighter light emphasize 27 / 29 Which one is NOT the audio element’s attribute? check controls loop src 28 / 29 The CSS property used to specify the transparency of an element is? opcity visibility filter None of the above 29 / 29 What are the uses of CSS pseudo-elements? Style specified parts of an element Style the first letter or line of an element insert content before or after the element All of the above Your score is LinkedIn Facebook VKontakte 0% By Wordpress Quiz plugin