Tag: General

  • CSS Questions & Answers – Inheritance and Cascade

    CSS Questions & Answers – Inheritance and Cascade

    CSS Multiple Choice Questions & Answers (MCQs) focuses on “Inheritance and Cascade”. Q 1. Which of the following Cascading order has the highest precedence?A . user normal declarationsB. user agent declarationsC. author normal declarationsD. author important declarations Show Answer Answer:-B. user agent declarations Q 2. Which of the following property is a shorthand that resets…

  • CSS Questions & Answers – Precise Positioning of Elements

    CSS Questions & Answers – Precise Positioning of Elements

    CSS Multiple Choice Questions & Answers (MCQs) focuses on “Precise Positioning of Elements”. Q 1. Which of the following CSS Property controls how an element is positioned?A. fixB. setC. staticD. position Show Answer Answer:-D. position Explanation Controls how an element is positioned. When set to absolute or fixed, the element is removed completely from the…

  • CSS Questions & Answers – CSS Keyframes

    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 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 – Styling Tables

    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 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 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 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 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 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…

You cannot copy content of this page