HTML ExamplesLesson #64

HTML Quiz

You can test your HTML skills with EA Academy' Quiz.

You can test your HTML skills with EA Academy' Quiz.


The Test

The test contains 40 questions and there is no time limit.

The test is not official, it's just a nice way to see how much you know, or don't know, about HTML.

Count Your Score

You will get 1 point for each correct answer. At the end of the Quiz, your total score will be displayed. Maximum score is 40 points.

Start the Quiz

Good luck!

Start the HTML Quiz

If you don't know HTML, we suggest that you read our HTML Tutorial from scratch.


Interactive Code Examples

HTML Quiz Example

html
Try it Yourself
Live code example for HTML Quiz. Click Try it Yourself to test.
<!DOCTYPE html>
<html>
<head>
  <style>
    body {
      font-family: system-ui, -apple-system, sans-serif;
      padding: 24px;
      background: #f8fafc;
      color: #0f172a;
    }
    .demo-card {
      background: #ffffff;
      padding: 24px;
      border-radius: 16px;
      border: 1px solid #e0e7ff;
      box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.08);
      max-width: 540px;
    }
    h2 { color: #4f46e5; margin-top: 0; font-size: 22px; }
    p { color: #64748b; line-height: 1.6; }
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #4f46e5;
      color: #ffffff;
      border: none;
      padding: 10px 20px;
      border-radius: 9999px;
      font-weight: 700;
      font-size: 13px;
      cursor: pointer;
      box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
    }
    .btn:hover { background: #4338ca; }
  </style>
</head>
<body>
  <div class="demo-card">
    <h2>HTML Quiz</h2>
    <p>This is a live runnable interactive demonstration for <strong>HTML Quiz</strong>.</p>
    <button class="btn" onclick="alert('Testing HTML Quiz!')">
      <span>Interactive Action</span> &rarr;
    </button>
  </div>
</body>
</html>