Content · Web Development · HTML

HTML Interview Markup: Questions and Responses

An interview is a sequence of questions and answers. A description list can work for a short interview, while headings and paragraphs may suit longer conversations.

1 views Published Oct 19, 2026 Updated Oct 19, 2026 Admin

An interview is a sequence of questions and answers. A description list can work for a short interview, while headings and paragraphs may suit longer conversations.

What You Need to Know


Readers should always know which words belong to the interviewer and the guest. Keep the source order logical before styling it.

The goal is not to collect as many tags as possible. Pick the element that best describes what the content really is.

Example: See It in Action


This example keeps the idea small. Copy it carefully, then follow the explanation instead of guessing what the browser will do.

This is a short HTML fragment. To try it as a webpage, put it inside the body element of a complete HTML document.

<article>
    <h1>Meet the Young Inventor</h1>
    <dl>
        <dt>Question</dt>
        <dd>Why did you build this robot?</dd>
        <dt>Answer</dt>
        <dd>To help water our garden.</dd>
    </dl>
</article>

Let’s Understand the Example


  • Article marks a piece that could make sense on its own, such as a news post or recipe.
  • An h1 introduces the main subject of the page. Use the heading level for structure rather than font size.
  • Dl contains terms and their descriptions.

You should see a readable heading and its related content. The heading level tells readers how the ideas fit together, not merely how large the letters look.

What Should You See?


The page should display “Meet the Young Inventor” as a heading, followed by its related content. Change the heading text and refresh the browser to see the result.

Read only the headings, from top to bottom. Do they tell a sensible story? If not, move sections or choose levels that match the content.

Try It Yourself


  1. Write one follow-up question that naturally follows the first answer.
  2. Save your changes, open or refresh the page, and compare the result with the original example.
  3. Tell a friend what your change did. If you are not sure, undo it, refresh the page, and compare.

Common Beginner Mistakes


  • Using identical unlabelled paragraphs for both question and answer.
  • Avoid picking tags just for their default bold, italic or spaced appearance. Use CSS for presentation.

Key Takeaways


  • An interview is a sequence of questions and answers.
  • Article marks a piece that could make sense on its own, such as a news post or recipe.
  • Readers should always know which words belong to the interviewer and the guest. Keep the source order logical before styling it.
Share this resourceSend this page to someone who may find it useful.