NANDHOO
.
Learning Paths
Dashboard
Sign In
Home
Dashboard
HTML5 Mastery: Structure, Semantics, Attributes, and Real Projects
Advanced Semantic and Interactive Elements
Quiz
Chapter Quiz: Advanced Semantic and Interactive Elements
Advanced Semantic Elements Quiz
Complete this assessment with 100% score to master this chapter.
01
Which HTML element creates a native collapsible section without JavaScript?
<details>
<collapse>
<accordion>
<toggle>
02
What is the difference between <progress> and <meter>?
<progress> shows completion of a task; <meter> shows a scalar value within a known range
They are interchangeable — both render a bar
<progress> requires JavaScript; <meter> does not
<meter> is for time values; <progress> is for percentages
03
Which attribute on <details> causes it to start in the expanded state?
open
expanded
visible
show
04
How do you open a <dialog> element with JavaScript?
dialogElement.showModal() or dialogElement.show()
dialogElement.open = true
dialogElement.setAttribute('visible', 'true')
document.modal(dialogElement)
05
Which element is appropriate for marking text that was recently inserted in a document (e.g. in a diff view)?
<ins>
<mark>
<strong>
<new>
Submit Answers
Back to Lesson
Next Chapter