Tag: Answer

  • CSS Quizs Question & Answers – Media Types

    Q 1. The __________ rule makes it possible to define different style rules for different media types in the same stylesheet.A. audio/videoB. sinkC. @mediaD. @canvas Show Answer Answer:-C. @media Explanation Example:@media screen { p { font-family: verdana, sans-serif; font-size: 17px; } } Q 2. What is the way to specify media dependencies for style sheets…

  • CSS Quizs Question & Answers – CSS Outline

    Q 1. Identify the outline property that specifies the amount of area extended beyond the border box.A. outset3dB. insetC. outsetD. inset3d Show Answer Answer:-C. outset Explanation It specifies a 3D outset border. The effect depends on the border-color value. Q 2. Which of the following value specifies a dashed outline?A. dashB. dashedC. double-dashD. all of…

  • CSS Quizs Question & Answers – CSS Voice

    Q 1. Which of the following property sets pitch or tone (high or low) for the synthesized speech when reading an element; the pitch may be specified absolutely or relative to the normal pitch for the voice-family used to read the text?A. voice-checkB. voice-formatC. voice-pitchD. voice-volume Show Answer Answer:-C. voice-pitch Q 2. Which of the…

  • CSS Quizs Question & Answers – CSS Text

    Q1 . Which of the following CSS property determines how overflowed content that is not displayed is signaled to the users?A. text-flowB. text-underflowC. text-overflowD. none of the mentioned Show Answer Answer:-C. text-overflow Q 2. Which of the following sets the mode for the overline text decoration, determining whether the text decoration affects the space characters…

  • CSS Quizs Question & Answers – CSS Border

    Q 1. Which CSS property can be used to set the image as border instead of the border style?A. background-imageB. border-imageC. background-image-sourceD. border-image-source Show Answer Answer:-D. border-image-source Explanation The border-image-source property specifies the path to the image to be used as a border (instead of the normal border around an element). Q 2. In how…

  • CSS Quizs Question & Answers – Specifying sizes, colors and files

    Q 1 . Which of the following is not a attribute of the audio element?A. controlsB. srcC. checkD. loop Show Answer Answer:-C. check Explanation Self-explainatory. Q 2. Which of the following element is used to specify multiple media resources for media elements like audio and video? A. <source> B. <link> C. <script> D. <src> Show…

  • CSS Quizs Question & Answers – CSS Color Values

    Q 1. Which of the following Color Format is a CSS3 HSL value with a fourth value to set the alpha channel value for the color to define the opacity of the element?A. RGB ColorB. RGBa ColorC. HSL ColorD. HSLa Color Show Answer Answer:-D. HSLa Color Explanation None. Q 2. Which of the following Selector…

  • CSS Quizs Question & Answers – Style Inclusion Methods

    Q 1. Which of the following property sets the font size of text?A. text-sizeB. font-sizeC. sizeD. text Show Answer Answer:-B. font-size Explanation Syntax:font-size: length | percentage | larger | smaller | xx-small | x-small | small | medium | large | x-large | xx-larger | inherit Q 2. Which of the following property sets a…

  • CSS Quizs Question & Answers – Specification of CSS

    Q 1. What will be the output of below mentioned code snippet? h1 {color: “green”;} A. heading becomes greenB. heading becomes dark-greenC. error occorsD. nothings happen Show Answer Answer:-D. nothings happen Explanation Output of above code snippet won’t happen as the declaration syntax is wrong. The correct declaration is : h1 { color: green; }…

  • CSS Quizs Question & Answers – CSS Versions

    Q1 . Which of the following CSS property is used to give a line over the text?A. text-decoration: underlineB. text-decoration: overlineC. text-decoration: line-throughD. text-decoration: none Show Answer Answer:-B. text-decoration: overline Explanation Text-decoration is a CSS property used to decorate the text. The text-decoration property takes many values such as overline, underline, line-through, none, inherit, etc.…

You cannot copy content of this page