Fundamentals of Front End Development MCQs with Answers
Practice important Fundamentals of Front End Development MCQs with answers and explanations.
Chapter: 126
Q1421:
Which element is used to define a scalar measurement within a known range in HTML5?
A. <meter>
B. <progress>
C. <gauge>
D. <range>
Correct Answer:
A
Chapter: 126
Q1422:
Which of the following HTML5 elements is used to define the progress of a task?
A. <task>
B. <progress>
C. <work>
D. <meter>
Correct Answer:
B
Chapter: 126
Q1423:
Which of the following input types was introduced in HTML5?
A. text
B. password
C. color
D. hidden
Correct Answer:
C
Chapter: 126
Q1424:
Fill in the blank: The <aside> element in HTML5 is used to define _______.
A. the main content of a document
B. content aside from the page content
C. a header for a document
D. navigation links in a document
Correct Answer:
B
Chapter: 126
Q1425:
Which of the following APIs was introduced in HTML5?
A. HTML Canvas
B. HTML Forms 2.0
C. HTML5 Geolocation
D. HTML 4.01 Object Model
Correct Answer:
C
Chapter: 126
Q1426:
Fill in the blank: In HTML5, the <article> element is used to define _______.
A. a header for a document
B. an independent piece of content
C. a group of navigation links
D. a footer for a document or section
Correct Answer:
B
Chapter: 126
Q1427:
Which HTML5 element is used to define a dialog box or window?
A. <modal>
B. <popup>
C. <dialog>
D. <window>
Correct Answer:
C
Chapter: 126
Q1428:
Which HTML5 element is used to provide a caption for a <figure> element?
A. <caption>
B. <title>
C. <figcaption>
D. <header>
Correct Answer:
C
Chapter: 126
Q1429:
Which input attribute was introduced in HTML5 to specify that an input field must be filled out before submitting?
A. required
B. mandatory
C. validate
D. mustfill
Correct Answer:
A
Chapter: 126
Q1430:
Fill in the blank: The <nav> element in HTML5 is used to define _______.
A. a footer for a document
B. a header for a document
C. navigation links in a document
D. a main content area in a document
Correct Answer:
C
Chapter: 126
Q1431:
Which of the following elements was removed in HTML5 and replaced by CSS?
A. <article>
B. <footer>
C. <font>
D. <section>
Correct Answer:
C
Chapter: 126
Q1432:
Which HTML5 element defines additional details that the user can view or hide?
A. <details>
B. <summary>
C. <aside>
D. <section>
Correct Answer:
A
Chapter: 126
Q1433:
Which new HTML5 element is used to define the main content of a document?
A. <main>
B. <body>
C. <section>
D. <article>
Correct Answer:
A
Chapter: 126
Q1434:
Fill in the blank: The <keygen> element in HTML5 is used to define _______.
A. a list of predefined options for an input
B. a key-pair generator field for forms
C. a command/menu item in a popup menu
D. a result of a calculation
Correct Answer:
B
Chapter: 126
Q1435:
Which input type in HTML5 is used to specify a control for entering a telephone number?
A. tel
B. phone
C. number
D. contact
Correct Answer:
A
Chapter: 126
Q1436:
Which new input attribute in HTML5 is used to specify a URL that processes the form submission?
A. formaction
B. formtarget
C. formmethod
D. formenctype
Correct Answer:
A
Chapter: 126
Q1437:
Fill in the blank: The <summary> element in HTML5 is used to define _______.
A. a caption for a figure
B. additional details that the user can view
C. a visible heading for a <details> element
D. the progress of a task
Correct Answer:
C
Chapter: 126
Q1438:
Which HTML5 element is used to define marked or highlighted text?
A. <mark>
B. <highlight>
C. <bold>
D. <emphasize>
Correct Answer:
A
Chapter: 127
Q1439:
Which of the following is NOT a valid attribute syntax in HTML5?
A. Empty
B. Unquoted
C. Double-quoted
D. Triple-quoted
Correct Answer:
D
Chapter: 127
Q1440:
Fill in the blank: The <input> element with value='John Doe' uses _______.
A. Double-quoted syntax
B. Single-quoted syntax
C. Unquoted syntax
D. Empty syntax
Correct Answer:
B