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.

100 MCQs Page 3 of 5
0
0
/ 100
0%
A. <article>
B. <post>
C. <content>
D. <entry>
Answer: The <article> element defines independent, self-contained content like blog posts, news articles, or forum posts.
A. <input type="range">
B. <input type="slider">
C. <range>
D. <slider>
Answer: <input type="range"> creates a range slider that allows users to select a value from a range.
A. <aside>
B. <sidebar>
C. <side>
D. <section>
Answer: The <aside> element defines content that is tangentially related to the main content, often used for sidebars.
A. <input type="file">
B. <input type="upload">
C. <file>
D. <input type="document">
Answer: <input type="file"> creates a file upload field that allows users to select files from their device.
A. <header>
B. <head>
C. <top>
D. <banner>
Answer: The <header> element represents introductory content or a group of navigational aids for a document or section.
A. <input type="number">
B. <input type="numeric">
C. <number>
D. <input type="integer">
Answer: <input type="number"> creates a number input field with up/down controls for adjusting the value.
A. <time>
B. <datetime>
C. <date>
D. <timestamp>
Answer: The <time> element represents a specific time or date in a machine-readable format.
A. <input type="search">
B. <input type="find">
C. <search>
D. <input type="query">
Answer: <input type="search"> creates a search input field, which may have a clear button in some browsers.
A. <figcaption>
B. <caption>
C. <figurecaption>
D. <imgcaption>
Answer: The <figcaption> element defines a caption for a <figure> element, providing context for images or illustrations.
A. <input type="url">
B. <input type="link">
C. <url>
D. <input type="website">
Answer: <input type="url"> creates an input field for URLs, with built-in validation in modern browsers.
A. <mark>
B. <highlight>
C. <h>
D. <yellow>
Answer: The <mark> tag defines text that should be marked or highlighted for reference purposes.
A. <input type="email">
B. <input type="mail">
C. <email>
D. <input type="e-mail">
Answer: <input type="email"> creates an email input field with built-in email format validation in modern browsers.
A. <progress>
B. <meter>
C. <bar>
D. <loading>
Answer: The <progress> tag displays a progress bar showing the completion progress of a task.
A. <input type="tel">
B. <input type="phone">
C. <telephone>
D. <input type="call">
Answer: <input type="tel"> creates a telephone number input field for phone numbers.
A. <dt>
B. <dd>
C. <term>
D. <dl>
Answer: The <dt> tag defines a term/name in a description list, used with <dd> for the description.
A. <input type="week">
B. <input type="weeknumber">
C. <week>
D. <input type="wk">
Answer: <input type="week"> creates an input field for selecting a week and year with a date picker.
A. <dd>
B. <dt>
C. <desc>
D. <dl>
Answer: The <dd> tag defines the description of a term in a description list, paired with <dt> tags.
A. <input type="month">
B. <input type="monthyear">
C. <month>
D. <input type="calmonth">
Answer: <input type="month"> creates an input field for selecting a month and year with a date picker.
A. <dl>
B. <desclist>
C. <dd>
D. <list>
Answer: The <dl> tag defines a description list, containing pairs of <dt> (terms) and <dd> (descriptions).
A. <input type="time">
B. <input type="clock">
C. <time>
D. <input type="hour">
Answer: <input type="time"> creates an input field for selecting a time with hour and minute picker.
1 2 3 4 5