HTML
Practice HTML MCQs covering document structure, semantic elements, forms, tables, multimedia, links, images, accessibility, HTML5 features, and other core web development concepts.
3
Topics
304
Total MCQs
HTML
Practice HTML MCQs covering document structure, semantic elements, forms, tables, multimedia, links, images, accessibility, HTML5 features, and other core web development concepts.
Answer: The <section> element defines a thematic grouping of content, typically with a heading.
Answer: <input type="hidden"> creates a hidden input field that is not visible to users but is submitted with the form.
Answer: The <strong> tag defines text with strong importance, typically displayed in bold with semantic meaning.
Answer: <input type="reset"> creates a reset button that clears all form input values to their default.
Answer: The <small> tag defines smaller text, often used for copyright notices or legal disclaimers.
Answer: Both <button type="button"> and <input type="button"> create buttons that do not submit forms.
Answer: The <bdo> tag overrides the current text direction for its content, used for bidirectional text.
Answer: Wrapping an <img> tag with an <a> tag creates a clickable image link in HTML.
Answer: The <figure> element represents self-contained content like images, diagrams, or code snippets.
Answer: The <datalist> element provides predefined options for an input field, enabling autocomplete functionality.
Answer: The <details> element creates a disclosure widget that can be expanded to reveal additional information.
Answer: The <summary> element provides a visible heading for the <details> element that users can click to expand.
Answer: The <dialog> element represents a dialog box or interactive component like a modal or alert.
Answer: The <meter> element represents a scalar measurement within a known range, like a gauge or rating.
Answer: The <abbr> tag defines an abbreviation or acronym, with the title attribute providing the full meaning.
Answer: The <address> element defines contact information for the author or owner of a document.
Answer: The <kbd> tag represents user keyboard input, typically displayed in a monospace font.
Answer: The <samp> tag represents sample output from a computer program in HTML.
Answer: The <var> tag represents a variable in a mathematical expression or programming context.
Answer: The <cite> tag defines the title of a creative work like a book, movie, or article.