Квиз по 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 и серию.

Пример вопроса

Вопрос 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, серию, значки и историю.

Можно пройти ещё раз?

Да. Лучший результат сохраняется, а вопросы и ответы каждый раз перемешиваются.