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 <article> element defines independent, self-contained content like blog posts, news articles, or forum posts.
Answer: <input type="range"> creates a range slider that allows users to select a value from a range.
Answer: The <aside> element defines content that is tangentially related to the main content, often used for sidebars.
Answer: <input type="file"> creates a file upload field that allows users to select files from their device.
Answer: The <header> element represents introductory content or a group of navigational aids for a document or section.
Answer: <input type="number"> creates a number input field with up/down controls for adjusting the value.
Answer: The <time> element represents a specific time or date in a machine-readable format.
Answer: <input type="search"> creates a search input field, which may have a clear button in some browsers.
Answer: The <figcaption> element defines a caption for a <figure> element, providing context for images or illustrations.
Answer: <input type="url"> creates an input field for URLs, with built-in validation in modern browsers.
Answer: The <mark> tag defines text that should be marked or highlighted for reference purposes.
Answer: <input type="email"> creates an email input field with built-in email format validation in modern browsers.
Answer: The <progress> tag displays a progress bar showing the completion progress of a task.
Answer: <input type="tel"> creates a telephone number input field for phone numbers.
Answer: The <dt> tag defines a term/name in a description list, used with <dd> for the description.
Answer: <input type="week"> creates an input field for selecting a week and year with a date picker.
Answer: The <dd> tag defines the description of a term in a description list, paired with <dt> tags.
Answer: <input type="month"> creates an input field for selecting a month and year with a date picker.
Answer: The <dl> tag defines a description list, containing pairs of <dt> (terms) and <dd> (descriptions).
Answer: <input type="time"> creates an input field for selecting a time with hour and minute picker.