O Level Web Design Paper January 2026
निम्न CSS का प्रभाव क्या होगा?
What will be the effect of the following CSS?
div[class^="box-"] {
background-color: yellow;
} The selector div[class^="box-"] is a CSS Attribute Selector. Here is the breakdown of how it works:
-
div: This part targets onlyelements.[class...]: This looks for theclassattribute within those elements.^=: This is the "starts with" operator. It tells the browser to match elements whose attribute value begins with the specified string."box-": This is the specific string it is looking for.Other Selector Symbols
For your exams, it is helpful to remember these three common attribute matchers:
-
^=(Starts with):div[class^="box-"]matches.$=(Ends with):div[class$="-box"]matches.*=(Contains):div[class*="box"]matches.Correct Answer: B) Only divs with class starting with "box-" will have yellow background
Question: 8 Report ErrorQuestion: 9 Report ErrorQuestion: 10 Report ErrorQuestion: 11 Report ErrorQuestion: 12 Report ErrorQuestion: 13 Report ErrorQuestion: 14 Report ErrorQuestion: 15 Report ErrorQuestion: 16 Report ErrorQuestion: 17 Report Errorनिम्न CSS snippet को <span> element पर apply करने पर output क्या होगा
What is the output of the following CSS snippet applied to a <span> element
span { border: 1px solid red; outline: green dotted thick; }A)B)C)D)
Question: 18 Report ErrorQuestion: 19 Report ErrorQuestion: 20 Report ErrorQuestion: 21 Report ErrorQuestion: 22 Report ErrorQuestion: 23 Report ErrorQuestion: 24 Report ErrorQuestion: 25 Report ErrorQuestion: 26 Report ErrorQuestion: 27 Report ErrorQuestion: 28 Report ErrorQuestion: 29 Report ErrorQuestion: 30 Report ErrorQuestion: 31 Report ErrorQuestion: 32 Report ErrorQuestion: 33 Report ErrorQuestion: 34 Report ErrorQuestion: 35 Report ErrorQuestion: 36 Report ErrorQuestion: 37 Report ErrorQuestion: 38 Report ErrorQuestion: 39 Report ErrorQuestion: 40 Report ErrorQuestion: 41 Report ErrorQuestion: 42 Report ErrorQuestion: 43 Report ErrorQuestion: 44 Report ErrorQuestion: 45 Report ErrorQuestion: 46 Report ErrorQuestion: 47 Report ErrorQuestion: 48 Report ErrorQuestion: 49 Report ErrorQuestion: 50 Report ErrorQuestion: 51 Report ErrorQuestion: 52 Report ErrorQuestion: 53 Report ErrorQuestion: 54 Report ErrorQuestion: 55 Report ErrorQuestion: 56 Report ErrorQuestion: 57 Report ErrorQuestion: 58 Report ErrorQuestion: 59 Report ErrorQuestion: 60 Report ErrorQuestion: 61 Report ErrorQuestion: 62 Report ErrorQuestion: 63 Report ErrorQuestion: 64 Report ErrorQuestion: 65 Report ErrorQuestion: 66 Report ErrorQuestion: 67 Report Errorनीचे दिए गए कोड में कौन सा कोड सबसे अधिक प्रभावी है
Which of the following code is most efficient
Code 1: for(var number=10; number>=1; number--) { document.write(number); } Code 2: var number=10; while(number>=1) { document.write(number); number--; }A)B)C)D)
Question: 68 Report ErrorQuestion: 69 Report ErrorQuestion: 70 Report ErrorQuestion: 71 Report ErrorQuestion: 72 Report ErrorQuestion: 73 Report ErrorQuestion: 74 Report ErrorQuestion: 75 Report ErrorQuestion: 76 Report ErrorQuestion: 77 Report ErrorQuestion: 78 Report ErrorQuestion: 79 Report ErrorQuestion: 80 Report ErrorQuestion: 81 Report ErrorQuestion: 82 Report ErrorQuestion: 83 Report ErrorQuestion: 84 Report ErrorQuestion: 85 Report ErrorQuestion: 86 Report ErrorQuestion: 87 Report ErrorQuestion: 88 Report Errorनिम्न JavaScript statement का output क्या होगा
What will be the output of the following JavaScript statement
console.log(!(0));A)B)C)
Question: 89 Report ErrorQuestion: 90 Report ErrorQuestion: 91 Report ErrorQuestion: 92 Report ErrorQuestion: 93 Report Errorनिम्न JavaScript कोड का आउटपुट क्या होगा
What will be the output of the following JavaScript code
let a = 5; let b = "5"; console.log(a == b);A)B)C)D)
Question: 94 Report ErrorQuestion: 95 Report ErrorQuestion: 96 Report ErrorQuestion: 97 Report ErrorQuestion: 98 Report ErrorQuestion: 99 Report ErrorQuestion: 100 Report ErrorQuestion: 101 Report ErrorQuestion: 102 Report Error