Quiz di 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.

Facile 10 domande ~5 minuti Superato con il 80%

Scegli una modalità

Stai giocando come ospite: accedi per salvare XP e serie.

Domanda di esempio

Domanda 1 di 10

Which link opens in a new tab or window?

Mostra la risposta

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.

Cosa copre questo quiz

  • 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

Domande frequenti

Serve un account?

No. Chiunque può giocare. Accedi per salvare XP, serie, badge e cronologia.

Posso rifarlo?

Sì. Il tuo miglior punteggio resta salvato, e domande e risposte vengono mescolate ogni volta.