Tag: Answer
-
CSS Questions & Answers – Transforms and Transitions
CSS Multiple Choice Questions & Answers (MCQs) focuses on “Transforms and Transitions”. Q 1. Which of the following property defines the length of time that a transition takes? A. transition-durationB. transitionC. transform-durationD. transition-property Show Answer Answer:-A. transition-duration Q 2. Which of the following property defines when the transition will start and it allows a transition…
-
CSS Questions & Answers – Floating Elements for Layout
CSS Multiple Choice Questions & Answers (MCQs) focuses on “Floating Elements for Layout”. Q 1. Which of the following values are accepted by the float Property?A. leftB. rightC. noneD. all of the mentioned Show Answer Answer:-D. all of the mentioned Explanation Q 2. Which of the following property is used to control the behaviour of…
-
CSS Questions & Answers – Styling Tables
CSS Multiple Choice Questions & Answers (MCQs) focuses on “Styling Tables”. Q 1. Which of the following element is used within the table element to define a caption?A. <tablecaption> B. <table-cap> C. <caption> D. <table-caption> Show Answer Answer:-C. Q 2. Which of the following property is used to specify table borders in CSS?A. tableB. borderC.…
-
CSS Questions & Answers – Generated Content
CSS Multiple Choice Questions & Answers (MCQs) focuses on “Generated Content”. Q 1. Which of the following selector same as :after; changed under CSS3 to make pseudo-elements obvious? A. :after B. ::after C. #after D. none of the mentioned Show Answer Answer:-B. ::after Explanation Example: div::after {content: url(sectionend.gif);} Q 2. Which of the following property…
-
CSS Questions & Answers – Implemented CSS3 and Browser-Specific
CSS Mcqs focuses on “Implemented CSS3 and Browser-Specific Features”. Q 1. Which of the following property specifies whether an element is an accelerator indicator or not.A. moveB. @keyframesC. acceleratorD. none of the mentioned Show Answer Answer:-C. accelerator Explanation Syntax: accelerator: true | false Q 2. Which of the following property is used to define the…
-
CSS Questions & Answers – CSS1 and CSS 2.1 Properties
CSS Multiple Choice Questions & Answers (MCQs) focuses on “CSS1 and CSS 2.1 Properties”. Q 1. Which of the following property sets in a shorthand form any or all background properties?A. fontB. background-colorC. backgroundD. background-position Show Answer Answer:-C. background Explanation Syntax: background: background-color background-image background-repeat background-attachment background- position; Q 2. Which of the following property…
-
CSS Questions & Answers – Strings and Keywords
CSS Multiple Choice Questions & Answers (MCQs) focuses on “Strings and Keywords”. Q 1. Which of the following strings are defined by in css?A. single quotesB. double quotesC. both single quotes and double quotesD. none of the mentioned Show Answer Answer:-C. both single quotes and double quotes Explanation In CSS, strings are defined with either…
-
CSS Questions & Answers – Measurements in CSS
CSS Multiple Choice Questions & Answers (MCQs) focuses on “Measurements in CSS”. Q 1. Which of the following measurement defines a measurement in centimeters?A. cB. cmC. centiD. centimeter Show Answer Answer:-B. cm Explanation Example: div {margin-bottom: 1cm;} Q 2. Which of the following measurement defines a measurement relative to the height of a font in…
-
CSS Questions & Answers – Major Themes
CSS Multiple Choice Questions & Answers (MCQs) focuses on “Major Themes”. Q 1. _ property defines a mask to be used as a box’s overlay in order to clip the box to a complex shape.A. mask-box-imageB. maskC. mask-attachmentD. mask-origin Show Answer Answer:-B. mask Explanation Syntax: mask: mask-attachment Q 2. _ property specifies whether the mask…
-
CSS Questions & Answers – Document Structure and CSS Inheritance
CSS Multiple Choice Questions & Answers (MCQs) focuses on “Document Structure and CSS Inheritance”. Q 1. If a particular rule should never be overridden by another rule, the ____________ indication should be used.A. @important B. !important! C. ! important D. important! Show Answer Answer:-C. ! important Explanation If a particular rule should never be overridden…