Tag: CSS
-
CSS Questions & Answers – CSS Keyframes
CSS Multiple Choice Questions & Answers (MCQs) focuses on “CSS Keyframes”. Q 1. Which of the following CSS Property determines whether an animation should run in reverse on some cycles?A. animationB. animation-runC. animation-repeatD. none of the mentioned Show Answer Answer:-D. none of the mentioned Explanation animation-direction : Determines whether an animation should run in reverse…
-
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 – 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 – CSS and (X)HTML Elements Fundamentals
CSS Multiple Choice Questions & Answers (MCQs) focuses on “CSS and (X)HTML Elements Fundamentals”. What is the fundamental purpose of CSS in relation to (X)HTML ? Answer: The fundamental purpose of CSS (Cascading Style Sheets) is to separate the presentation (style) of a web page from its structure and content (HTML/XHTML). Before CSS, styling was…
-
CSS Questions & Answers – CSS Transition, Perl cgi Programming
CSS Multiple Choice Questions & Answers (MCQs) focuses on “CSS Transition, Perl cgi Programming”. Q 1. What defines the date when information becomes invalid?A. last-modified: stringB. last-modified: stringC. expires: date stringD. content-type: string Show Answer Answer:-C. expires: date string Explanation expires: sate string defines the date when information becomes invalid. This should be used by…
-
CSS Questions & Answers – CSS Miscellaneous Property
CSS Multiple Choice Questions & Answers (MCQs) focuses on “CSS Miscellaneous Property”. Q 1. Which of the following CSS property sets the opacity level for an element?A. transparentB. transparencyC. opacityD. all of the mentioned Show Answer Answer:-C. opacity Explanation The opacity property defines the transparency-level, where 1 is opaque, 0.5 is translucent, and 0 is…
-
CSS Questions & Answers – Miscellaneous CSS Constructs
CSS Questions and Answers focuses on “Miscellaneous CSS Constructs”. Q 1. Which of the following represents a comment?A. /!– comments –!/B. /! comments !/C. /* comments */D. None of the mentioned Show Answer Answer:-c) /* comments */ Q 2. A single _____________ rule can be used in an external sheet to define character set encoding…