Sign Up Free

HTML: Which One Doesn't Belong

Odd One Out 15 questions Computer Science & Technology > HTML by Ethan Cale
Study this material interactively with flashcards, quizzes, and games on GabaBrain.
Study on GabaBrain

Odd One Out (15)

Question 1
Which of these HTML elements is not inherently a block-level element?
  • span ✓
  • p
  • div
  • article
Correct Answer
span
div, p, and article are all block-level elements, meaning they typically start on a new line and take up the full width available. span is an inline element, which does not start on a new line and only takes up as much width as necessary.
Question 2
Which of these HTML elements is not primarily used to define a distinct, self-contained section of content that could be distributed independently?
  • aside ✓
  • section
  • article
  • main
Correct Answer
aside
article, section, and main are all HTML5 semantic elements used to define major content sections or distinct parts of a document. aside is typically used for content related to the main content but not essential to its understanding, often displayed as a sidebar.
Question 3
Which of these HTML input types is not designed for capturing free-form text input from a user?
  • text
  • number
  • checkbox ✓
  • email
Correct Answer
checkbox
text, email, and number are all input types that allow a user to type in free-form text or numerical values. checkbox is an input type that allows a user to select or deselect a binary option from a predefined set.
Question 4
Which of these HTML elements is not a direct form control that users interact with to submit data?
  • input
  • fieldset ✓
  • button
  • textarea
Correct Answer
fieldset
input, textarea, and button are all interactive form controls that allow users to enter or submit data. fieldset is a container element used to group related form controls for semantic and accessibility purposes.
Question 5
Which of these ARIA attributes is not primarily used to describe the current state or property of an element?
  • aria-selected
  • aria-disabled
  • aria-expanded
  • role ✓
Correct Answer
role
aria-expanded, aria-selected, and aria-disabled are all ARIA state or property attributes used to convey dynamic information about an element's current condition. role defines the type or purpose of an element, rather than its state.
Question 6
Which of these HTML attributes is not primarily used to enhance the accessibility of an element for assistive technologies?
  • alt
  • title
  • class ✓
  • tabindex
Correct Answer
class
alt, title, and tabindex are all HTML attributes that can improve accessibility by providing alternative text, supplementary information, or controlling keyboard focus. class is primarily used for styling or scripting purposes, not directly for accessibility semantics.
Question 7
Which of these attributes is not directly used to control the display or interaction behavior of an HTML video or audio element?
  • loop
  • autoplay
  • src ✓
  • controls
Correct Answer
src
autoplay, loop, and controls are all attributes that dictate how the media element behaves during playback or interaction. src specifies the source URL of the media file, which is necessary for the media to load, but does not control playback behavior.
Question 8
Which of these HTML elements is not used for embedding or displaying visual media content?
  • audio ✓
  • picture
  • video
  • img
Correct Answer
audio
img, video, and picture are all HTML elements specifically for embedding or displaying visual media content. audio is an HTML element for embedding sound content.
Question 9
Which of these HTML elements is not used to create a type of list structure?
  • ul
  • nav ✓
  • ol
  • dl
Correct Answer
nav
ul (unordered list), ol (ordered list), and dl (description list) are all HTML elements used to create various types of list structures. nav is an HTML5 semantic element used to define a section containing navigation links.
Question 10
Which of these HTML form attributes is not primarily used for client-side validation of user input?
  • required
  • pattern
  • min
  • name ✓
Correct Answer
name
required, pattern, and min are all HTML attributes used for client-side validation to ensure user input meets specific criteria. name is used to identify the form control when submitting data to the server, not for validation.
Question 11
Which of these HTML elements does not inherently convey semantic meaning that is often recognized by assistive technologies without explicit ARIA roles?
  • button
  • div ✓
  • a
  • label
Correct Answer
div
button, a (anchor), and label are all HTML elements with inherent semantic meaning that assistive technologies can interpret for user interaction or context. div is a generic container element with no inherent semantic meaning.
Question 12
Which of these HTML elements is not typically used to provide descriptive or supplementary information related to other content?
  • summary
  • header ✓
  • details
  • figcaption
Correct Answer
header
figcaption provides a caption for a figure, summary provides a visible heading for a details element, and details itself provides expandable supplementary content. header is a semantic element for introductory content or a group of navigational aids for a section or document.
Question 13
Which of these HTML attributes is not primarily used to control the interactive behavior or state of a form control?
  • action ✓
  • checked
  • readonly
  • disabled
Correct Answer
action
disabled, readonly, and checked are all attributes that control the interactive behavior or default state of a form control. action specifies the URL where the form's data should be submitted, which is a property of the form itself, not an individual control's interactive state.
Question 14
Which of these attributes is not specifically designed for providing responsive image sources or alternative image displays?
  • srcset
  • sizes
  • media
  • src ✓
Correct Answer
src
srcset, sizes, and media (when used in a picture source element) are all attributes designed to provide responsive image sources or define conditions for displaying different images. src specifies a single image source, which is not inherently for responsiveness.
Question 15
Which of these ARIA properties is not typically used to describe relationships between elements or to label an element?
  • aria-label
  • aria-labelledby
  • aria-live ✓
  • aria-describedby
Correct Answer
aria-live
aria-labelledby, aria-describedby, and aria-label are all ARIA properties used to establish relationships between elements for labeling or description. aria-live is an ARIA property used to indicate that an element's content may change and should be announced by assistive technologies.

Ready to study HTML: Which One Doesn't Belong?

Study with flashcards, play quiz games, challenge your friends, and track your progress.

Start Studying Free