HTML & CSS Quiz: Links & Images

This HTML quiz covers the <a> and <img> elements. You will work out where relative links go, write good alt text, open links safely in new tabs and help the browser load images without layout jumps.

आसान 10 सवाल ~5 मिनट पास होने के लिए 80%

मोड चुनें

आप गेस्ट के तौर पर खेल रहे हैं: XP और streak सेव रखने के लिए साइन इन करें।

सैंपल सवाल

सवाल 1 / 10

Which link opens in a new tab or window?

जवाब दिखाएं

D. <a href="/docs" target="_blank">Docs</a> target="_blank" opens the link in a new browsing context (usually a tab). rel="external" only describes the link and does not change where it opens; window and open are not link attributes.

इस क्विज़ में क्या है

  • href values: relative paths, fragments and mailto:
  • target="_blank" and rel
  • Writing useful alt text, and empty alt for decoration
  • width/height, loading="lazy" and srcset
  • Descriptive link text

अक्सर पूछे जाने वाले सवाल

क्या अकाउंट ज़रूरी है?

नहीं। कोई भी खेल सकता है। XP, streak, badge और हिस्ट्री सेव रखने के लिए साइन इन करें।

क्या मैं इसे दोबारा दे सकता हूं?

हां। आपका बेस्ट स्कोर सेव रहता है, और हर बार सवाल और जवाब शफ़ल होते हैं।