What does the following code create?
<input type="password" name="pass">Read the full question →Every question is hand-checked, every answer comes with an explanation, and your progress builds into a clear picture of where you stand.
Every HTML question shows its code before you answer, so you are reading real HTML, not a description of it.
Once you attempt a question you get the reasoning, not just a tick. That matters most on HTML, where semantic element choice, form and label association, the accessibility tree, parser quirks around nesting, and how script loading attributes change execution order.
Progress is tracked per topic across the 46 HTML topics, so revision points at the gaps instead of the whole list.
574 HTML questions right now: 124 easy, 225 medium and 225 hard. That number is read straight from the question table when this page is built, so it is never a rounded marketing figure.
No. Every HTML question, including its code snippet, its difficulty and its topic, is readable without signing in. You need a free account only to submit an answer, see which option is correct, and read the worked explanation. We keep it that way so the platform stays honest about what you actually got right.
Semantic element choice, form and label association, the accessibility tree, parser quirks around nesting, and how script loading attributes change execution order.
46 distinct topics are tagged on the HTML questions, including content models, validation attrs required pattern, advanced inputs date range color, rel values usage, accessible tables scope caption, video audio tracks. The topic labels come from the questions themselves, so the list matches what you will actually be asked.
Yes. Reading is free and unlimited. A free account unlocks answering, explanations and progress tracking. Pro (₹199 per month) adds AI explanations and AI-graded guesstimates on top; it is not needed to practise HTML MCQs.
Every frontend role, plus email, content and accessibility-focused engineering work.
These are 12 of the 574 HTML questions in the library, pulled live from the question table. The snippet, the difficulty and the topic are all here. The answer options and the explanation are not. Those need a free account.
Semantic element choice, form and label association, the accessibility tree, parser quirks around nesting, and how script loading attributes change execution order.
<input type="password" name="pass">Read the full question →<button type="button">Click Me</button>Read the full question →<p>This is <em>emphasized</em> text.</p>Read the full question →<p>This is <b>bold</b> text.</p>Read the full question →<ul>\n <li>Item 1</li>\n <li>Item 2</li>\n</ul>Read the full question →<ul>\n <li>Item 1</li>\n <li>Item 2\n <ul>\n <li>Subitem</li>\n </ul>\n </li>\n</ul>Read the full question →<blockquote>\n <p>This is a quote.</p>\n</blockquote>Read the full question →<table>\n <thead>\n <tr><th>Header</th></tr>\n </thead>\n <tbody>\n <tr><td>Data</td></tr>\n </tbody>\n</table>Read the full question →<script>
var s = "<!-- <script> still inside -->";
</script>Read the full question →const cfg = { attrs: ['a'] };
class Base extends HTMLElement {
static get observedAttributes(){ return cfg.attrs; }
attributeChangedCallback(n){ console.log('base', n); }
}
customElements.define('x-base', Base);
cfg.attrs = ['a', 'b'];
class Sub extends Base {} // no own observedAttributes
customElements.define('x-sub', Sub);Read the full question →el.getHTML({ serializableShadowRoots: true, shadowRoots: [closedRoot] });Read the full question →<video controls>
<source src="clip.mp4" type="video/mp4">
<track kind="subtitles" src="en.vtt" srclang="en" label="English" default>
<track kind="captions" src="en-cc.vtt" srclang="en" label="English CC">
</video>Read the full question →We keep the correct answer, the explanation and the scoring behind sign-in so the platform stays honest, which is why the correct option and the worked explanation for every HTML question stay behind a free account. Signing in is free and takes a few seconds.
Every frontend role, plus email, content and accessibility-focused engineering work.