Navgurukul
Navgurukul
Navgurukul
Navgurukul
Navgurukul
100

Q: What does HTML stand for?
a) Hyper Trainer Marking Language
b) Hyper Text Markup Language
c) Hyper Text Marketing Language
d) High Text Markup Level

b) Hyper Text Markup Language

100

Q: Which HTML tag is used to create a form?
a) <input>
b) <form>
c) <fieldset>
d) <textarea>

b) <form> ✅

100

Q: What does CSS stand for?
a) Cascading Style Sheets
b) Colorful Style Sheets
c) Creative Styling System
d) Computer Style Syntax

a) Cascading Style Sheets ✅

100

Q: Which property changes the text color in CSS?
a) background-color
b) color
c) font-color
d) text-style

b) color ✅

100

Q: Which HTML element is used for the largest heading?
a) <h6>
b) <heading>
c) <h1>
d) <head>

c) <h1> ✅

200

Q: Which tag is used to display an image in HTML?
a) <image>
b) <src>
c) <img>
d) <picture>

c) <img> ✅

200

Q: Which input type is used for a password field?
a) text
b) password
c) secret
d) hidden

b) password ✅

200

Q: Which CSS property changes the size of text?
a) font-size
b) text-size
c) font-weight
d) size

a) font-size ✅

200

Q: Which CSS property is used to change the background color?
a) background-style
b) bg-color
c) background-color
d) color-background

c) background-color ✅

200

Q: Which HTML tag is used to create a hyperlink?
a) <link>
b) <a>
c) <href>
d) <anchor>

b) <a> ✅

300

Q: Which attribute is used to provide an alternative text for an image?
a) alt
b) title
c) src
d) description

a) alt ✅

300

Q: Which HTML element groups related inputs inside a form?
a) <legend>
b) <fieldset>
c) <section>
d) <group>

b) <fieldset> ✅

300

Q: Which CSS property controls the space inside an element’s border?
a) margin
b) padding
c) spacing
d) border-spacing

b) padding ✅

300

Q: Which property changes the font of text?
a) font-family
b) font-style
c) text-family
d) font-type

a) font-family ✅

300

Q: Which HTML tag is used to define important text?
a) <b>
b) <important>
c) <strong>
d) <highlight>

c) <strong> ✅

400

Q: Which HTML tag is used to play audio files?
a) <sound>
b) <audio>
c) <music>
d) <mp3>

b) <audio> ✅

400

Q: What does the “action” attribute in <form> do?
a) Specifies the form name
b) Defines form behavior
c) Specifies where to send form data
d) Validates form data

c) Specifies where to send form data ✅

400

Q: Which CSS property controls the space outside an element’s border?
a) margin
b) padding
c) spacing
d) outline

a) margin ✅

400

Q: Which property makes text bold in CSS?
a) font-weight
b) bold
c) text-bold
d) weight

a) font-weight ✅

400

Q: In CSS, what does the unit px represent?
a) Percentage of the parent element
b) Physical size in millimeters
c) Relative size to the root font
d) Pixels, a fixed-size unit

d) Pixels, a fixed-size unit ✅

500

Q: Which HTML element defines navigation links?
a) <nav> 
b) <navigation>
c) <links>
d) <menu>

a) <nav> ✅

500

Q: Which attribute is used to specify that an input field must be filled before submitting?
a) required
b) mustfill
c) validate
d) compulsory

a) required ✅

500

Q: Which CSS unit is relative to the root element’s font size?
a) em
b) rem
c) px
d) %

b) rem ✅

500

Q: In CSS, what is the difference between absolute and fixed positioning?
a) No difference
b) Absolute is relative to the nearest positioned ancestor; Fixed is relative to the viewport
c) Absolute is relative to the document; Fixed is relative to the parent
d) Fixed moves with scrolling; Absolute stays fixed

b) Absolute is relative to the nearest positioned ancestor; Fixed is relative to the viewport ✅

500

Q: Which HTML attribute is used to specify that an input field should automatically get focus when the page loads?
a) focus
b) autofocus
c) selected
d) default

b) autofocus ✅