wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML और CSS के प्रश्न

Total questions: 18

Worksheet time: 9mins

Name
Class
Date
1.

HTML का पूरा नाम क्या है?

a)

Hyper Text Markup Language

b)

Hyper Text Module Language

c)

Home Tool Markup Language

d)

Hyperlinks and Text Markup Language

2.

What is the purpose of the <title> tag in HTML?

a)

To define the body of the webpage

b)

To display the title of the webpage in the browser tab

c)

To link stylesheets

d)

To add images to the webpage

3.

CSS का उपयोग किसके लिए किया जाता है?

a)

वेब पेज के कंटेंट को स्टाइल करने के लिए

b)

वेब पेज में डेटा स्टोर करने के लिए

c)

वेब पेज में जावास्क्रिप्ट जोड़ने के लिए

d)

वेब पेज को सर्वर पर अपलोड करने के लिए

4.

What does the "id" attribute in HTML signify?

a)

It assigns a unique identifier to an element

b)

It specifies the class of an element

c)

It links the element to a stylesheet

d)

It changes the element to italic text

5.

W3.CSS का उपयोग क्यों किया जाता है?

a)

वेब पेज का लेआउट तैयार करने के लिए

b)

वेबसाइट को होस्ट करने के लिए

c)

डेटा स्टोर करने के लिए

d)

वेब पेज को एनिमेट करने के लिए

6.

Which of the following is not a valid CSS selector?

a)

#id

b)

.class

c)

element

d)

*class

7.

What is the default positioning of elements in CSS?

a)

Absolute

b)

Fixed

c)

Relative

d)

Static

8.

CSS में "float" प्रॉपर्टी का उपयोग किस लिए किया जाता है?

a)

टेक्स्ट को बड़े अक्षरों में बदलने के लिए

b)

एक तत्व को दाएं या बाएं तरफ संरेखित करने के लिए

c)

छवियों का आकार बदलने के लिए

d)

वेब पेज का बैकग्राउंड बदलने के लिए

9.

Which HTML attribute is used to open a link in a new tab?

a)

target="_self"

b)

href="_new"

c)

target="_blank"

d)

open="_tab"

10.

W3.CSS में "container" का उपयोग क्यों किया जाता है?

a)

कंटेंट को केंद्र में रखने के लिए

b)

नई शैली जोड़ने के लिए

c)

वेब पेज को सेव

11.

What is the syntax for adding a background color in CSS?

a)

color: red;

b)

background: red;

c)

bg-color: red;

d)

background-color: red;

12.

HTML5 में कौन सा नया इनपुट प्रकार शामिल है?

a)

<number>

b)

<password>

c)

<checkbox>

d)

<date>

13.

What is the purpose of the <header>

tag in HTML5?

a)

To create navigation links

b)

To group introductory content or navigational links

c)

To style text

d)

To add a footer to the page

14.

"CSS Grid" का उपयोग किसके लिए किया जाता है?

a)

कंटेंट को ग्रिड में व्यवस्थित करने के लिए

b)

वेब पेज में छवियां जोड़ने के लिए

c)

वेब पेज को एनिमेट करने के लिए

d)

ब्राउज़र कैश साफ़ करने के लिए

15.

Which property is used in CSS to change text color?

a)

font-color

b)

text-color

c)

color

d)

background-color

16.

What does the tag in HTML specify?

a)

It defines metadata about the webpage

b)

It styles the page layout

c)

It links to an external script

d)

It displays images on the page

17.

CSS में "padding" और "margin" में क्या अंतर है?

a)

Padding कंटेंट के अंदर होती है, Margin कंटेंट के बाहर होती है

b)

Margin कंटेंट के अंदर होती है, Padding कंटेंट के बाहर होती है

c)

दोनों एक ही हैं

d)

इनमें कोई अंतर नहीं है

18.

Which of the following is a semantic HTML tag?

a)

<div>

b)

<span>

c)

<article>

d)

<b>