HTML Forms, Multimedia & Extra Markup

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Alfredhook3
A
Alfredhook3
Community Contributor
Quizzes Created: 5199 | Total Attempts: 3,128,428
| Questions: 30 | Updated: Sep 14, 2026
Please wait...
Question 1 / 31
🏆 Rank #--
0 %
0/100
Score 0/100

1. Which form input type masks characters entered by the user, showing them as asterisks or circles?

Explanation

The input type "password" is specifically designed to mask the characters entered by the user, displaying them as asterisks or circles. This feature enhances security by preventing others from viewing sensitive information, such as passwords, while the user types. It ensures that the input remains confidential, making it a standard practice in forms requiring sensitive data entry. Other input types like "text" do not provide this masking functionality, while "hidden" is used for data that should not be visible at all.

Submit
Please wait...
About This Quiz
HTML Forms, Multimedia & Extra Markup - Quiz

This assessment focuses on HTML forms, multimedia elements, and extra markup. It evaluates your understanding of form controls, attributes, and elements like , , and . Mastering these concepts is essential for creating interactive web pages and enhancing user experience.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. The 'controls' attribute in the <audio> element indicates that the browser should supply its own controls for playback.

Submit

3. In a group of radio buttons, more than one button can use the 'checked' attribute simultaneously.

Submit

4. The 'maxlength' attribute in a text input limits the number of characters a user may enter.

Submit

5. The <textarea> element is an empty element and does not require a closing tag.

Submit

6. HTML comment tags are ignored by the browser and do not display any content on the page.

Submit

7. The preload attribute value 'none' tells the browser to download the video automatically when the page loads.

Submit

8. The 'class' attribute must be unique throughout the entire HTML document.

Submit

9. The <button> element allows both text and images to appear inside it.

Submit

10. The 'autoplay' attribute in the <audio> element requires a specific value to function correctly.

Submit

11. The <legend> element must come directly after the opening <fieldset> tag.

Submit

12. Which HTML5 input type is used to collect a date from the user?

Explanation

The HTML5 input type "date" is specifically designed to allow users to select a date from a calendar interface. This input type provides a user-friendly way to ensure that the entered data is in the correct date format, enhancing both usability and data validation. It typically presents a date picker that simplifies the selection process, making it easier for users to provide accurate date information without manual entry.

Submit

13. What attribute in a radio button group indicates which option should be selected when the page loads?

Explanation

In a radio button group, the "checked" attribute specifies which option is pre-selected when the page loads. This attribute is used in HTML to indicate that a particular radio button should be the default choice for the user, allowing for a seamless user experience. When a radio button has the "checked" attribute, it visually appears selected, guiding users on what the initial selection is without requiring any action on their part.

Submit

14. Which input type allows users to select only ONE option from a group of choices?

Explanation

The "radio" input type is specifically designed for scenarios where users need to select only one option from a set of choices. When multiple radio buttons are grouped together, selecting one automatically deselects any previously selected option, ensuring that only a single choice can be made at a time. This feature makes radio buttons ideal for questions where exclusivity is required, such as multiple-choice questions in forms or surveys.

Submit

15. What HTML element is used to create a multi-line text input in a form?

Explanation

The `

Submit

16. Which HTML attribute in the <audio> element indicates what the browser should do if the player is not set to autoplay?

Explanation

The `preload` attribute in the `

Submit

17. What is the purpose of the 'action' attribute in an HTML <form> element?

Explanation

The 'action' attribute in an HTML

element is crucial as it defines the target URL where the form data will be sent upon submission. This URL typically points to a server-side script or page that processes the submitted information. Without specifying the 'action', the browser would not know where to send the data, making it essential for the form's functionality. This attribute ensures that the collected data is directed to the appropriate backend for handling, such as storing in a database or processing user input.
Submit

18. Which attribute is added to a <select> element to allow users to select multiple options from a drop-down list?

Explanation

The "multiple" attribute is used in a `

Submit

19. What input type is used to allow users to upload a file from their computer to a website?

Explanation

The input type "file" is specifically designed for allowing users to select and upload files from their local devices to a web application. This input type creates a file selection dialog, enabling users to browse their computer and choose the desired file. Other options like "upload," "browse," and "attach" are not standard HTML input types, making "file" the correct choice for file uploads in web forms.

Submit

20. Which HTML attribute must be unique throughout the entire document and is used to reference an element via CSS or JavaScript?

Explanation

The "id" attribute in HTML is designed to uniquely identify an element within a document. Unlike the "class" attribute, which can be shared among multiple elements, the "id" must be distinct, ensuring that it can be targeted specifically by CSS styles or JavaScript functions. This uniqueness allows for precise manipulation and styling of individual elements, making the "id" attribute essential for effective web development and design.

Submit

21. What is the primary difference between the <span> and <div> elements in HTML?

Explanation

The distinction between the `` and `

` elements in HTML lies in their display properties. `` is an inline element, meaning it does not start on a new line and only takes up as much width as necessary, allowing elements to sit side by side. In contrast, `
` is a block-level element, which starts on a new line and occupies the full width available, stacking elements vertically. This fundamental difference affects how content is structured and presented in web design.

Submit

22. Which attribute of the <iframe> element specifies the URL of the page to show in the frame?

Explanation

The `src` attribute of the `

Submit

23. What does the abbreviation 'iframe' stand for in HTML?

Explanation

An 'iframe' in HTML stands for "Inline Frame." It is used to embed another document within the current HTML document. This allows for the inclusion of external content, such as videos or other web pages, directly within a webpage without disrupting the overall layout. The term "inline" indicates that the frame is part of the flow of the document, enabling seamless integration with surrounding content.

Submit

24. What does the preload attribute value 'metadata' tell the browser to do when loading a video?

Explanation

The preload attribute value 'metadata' instructs the browser to load only essential information about the video before playback. This includes details like the video's size, its first frame, track list, and duration. It allows the browser to gather necessary metadata without downloading the entire video file, optimizing initial loading times and conserving bandwidth until the user decides to play the video.

Submit

25. Which attribute of the <video> element allows you to specify an image to show while the video is downloading?

Explanation

The `poster` attribute of the `

Submit

26. What value must be given to the type attribute of an <input> element to use an image as a submit button?

Explanation

To use an image as a submit button in an HTML form, the type attribute of the `` element must be set to "image." This specifies that the input will display an image instead of the standard button, allowing users to click on the image to submit the form. The "image" type also enables the submission of the coordinates of the click relative to the image, providing additional functionality. Other types, such as "button" or "submit," do not render an image as the button.

Submit

27. Which input type allows web page authors to add values to forms that users cannot see?

Explanation

The "type='hidden'" input allows web page authors to include data in forms that users cannot see or interact with. This is useful for storing information that needs to be sent to the server upon form submission, such as user IDs or session tokens, without displaying it to the user. Unlike visible input types, hidden fields help maintain a clean user interface while still capturing essential data for processing.

Submit

28. What is the purpose of the <legend> element in an HTML form?

Explanation

The `` element is used within a `

` to provide a title or caption that describes the purpose of the grouped form controls. This enhances accessibility and user experience by clearly indicating the context of the inputs contained within the fieldset. By visually associating the legend with the form controls, it helps users understand the relationship between them, making forms more intuitive and easier to navigate.
Submit

29. Which HTML element is used to group related collections of form elements and displays a thin border around them?

Explanation

The `

` element in HTML is specifically designed to group related form elements, providing a semantic structure to forms. It visually distinguishes the grouped elements by displaying a thin border around them, which enhances usability and accessibility. This is particularly useful for organizing complex forms, as it helps users understand the relationship between different inputs, such as radio buttons or checkboxes that belong to the same category.
Submit

30. What does the 'loop' attribute do in an <audio> element?

Explanation

The 'loop' attribute in an

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (30)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Which form input type masks characters entered by the user, showing...
The 'controls' attribute in the <audio> element indicates that...
In a group of radio buttons, more than one button can use the...
The 'maxlength' attribute in a text input limits the number of...
The <textarea> element is an empty element and does not require...
HTML comment tags are ignored by the browser and do not display any...
The preload attribute value 'none' tells the browser to download the...
The 'class' attribute must be unique throughout the entire HTML...
The <button> element allows both text and images to appear...
The 'autoplay' attribute in the <audio> element requires a...
The <legend> element must come directly after the opening...
Which HTML5 input type is used to collect a date from the user?
What attribute in a radio button group indicates which option should...
Which input type allows users to select only ONE option from a group...
What HTML element is used to create a multi-line text input in a form?
Which HTML attribute in the <audio> element indicates what the...
What is the purpose of the 'action' attribute in an HTML <form>...
Which attribute is added to a <select> element to allow users to...
What input type is used to allow users to upload a file from their...
Which HTML attribute must be unique throughout the entire document and...
What is the primary difference between the <span> and...
Which attribute of the <iframe> element specifies the URL of the...
What does the abbreviation 'iframe' stand for in HTML?
What does the preload attribute value 'metadata' tell the browser to...
Which attribute of the <video> element allows you to specify an...
What value must be given to the type attribute of an <input>...
Which input type allows web page authors to add values to forms that...
What is the purpose of the <legend> element in an HTML form?
Which HTML element is used to group related collections of form...
What does the 'loop' attribute do in an <audio> element?
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!