O Level Web Design Paper July 2023
HTML ______ मानक रंग नामों का समर्थन करता है।
HTML supports ______ standard color names.
In HTML one can use a color name to specify a color e.g. Tomato, Orange, DodgerBlue, MediumSeaGreen, Gray, SlateBlue, Violet, LightGray etc. For colored fonts, we used text-decoration property to set the color of the text.
Correct Answer: C) 140
FOR लूप कैसे प्रारंभ होता है?
How does a FOR loop start?
In most programming languages like JavaScript, C, and C++, a for loop is structured in the following way:
- Initialization (
i = 0): The loop variable is initialized. - Condition (
i <= 5): The loop continues as long as this condition is true. - Increment (
i++): The loop variable is updated after each iteration.
The correct syntax is:
(D) for (i = 0; i <= 5; i++).
This will start the loop with i = 0, and it will run as long as i is less than or equal to 5, incrementing i after each iteration.
Correct Answer: D) for (i = 0; i <= 5; i++)
इस कोड स्निपेट का आउटपुट क्या है?
What is the output of this code snippet?
for (let i = 0; i < 3; i++) {
console.log(i);
}