ควิซ HTML & CSS: 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, เหรียญตรา และประวัติ

ทำซ้ำได้ไหม?

ได้ ระบบเก็บคะแนนที่ดีที่สุดไว้ และสลับคำถามกับตัวเลือกใหม่ทุกครั้ง