HTML Interview Questions

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

Which tag is used to define an unordered list in HTML?

  • (correct)

In HTML, which attribute is used to provide an image description for accessibility purposes?

  • title
  • src
  • href
  • alt (correct)

What does the 'href' attribute in an anchor tag define?

  • Table row
  • Image source
  • Text formatting
  • Hyperlink reference (correct)

Which HTML tag is used to define metadata about an HTML document?

<p>(D)</p> Signup and view all the answers

What is the correct way to create a hyperlink that opens in a new tab in HTML?

<p><a href="url">Link Text</a> (C)</p> Signup and view all the answers

Which HTML tag is used to create a clickable button?

<p>(C)</p> Signup and view all the answers

Flashcards are hidden until you start studying

Study Notes

HTML Basics

  • The <ul><li> tag is used to define an unordered list in HTML.

Accessibility in HTML

  • The alt attribute is used to provide an image description for accessibility purposes.
  • The href attribute in an anchor tag </li></ul><a> defines the link URL.

HTML Document Metadata

  • The `` tag is used to define metadata about an HTML document.
  • To create a hyperlink that opens in a new tab, use the target="_blank" attribute in the </a><a> tag.

HTML Buttons

  • The `` tag is used to create a clickable button.

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

More Like This

Use Quizgecko on...
Browser
Browser