mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-28 22:00:47 -04:00
feat(curriculum): Add 20 new Semantic HTML quiz questions. (#59025)
Co-authored-by: Jessica Wilkins <67210629+jdwilkin4@users.noreply.github.com>
This commit is contained in:
@@ -942,3 +942,445 @@ Which of the following elements is used as a fallback for browsers lacking suppo
|
||||
#### --answer--
|
||||
|
||||
`rp`
|
||||
|
||||
## --quiz--
|
||||
|
||||
### --question--
|
||||
|
||||
#### --text--
|
||||
|
||||
What is the purpose of the `header` element in HTML?
|
||||
|
||||
#### --distractors--
|
||||
|
||||
It defines the main content of the document.
|
||||
|
||||
---
|
||||
|
||||
It represents a section with navigation links.
|
||||
|
||||
---
|
||||
|
||||
It defines a sidebar for the document.
|
||||
|
||||
#### --answer--
|
||||
|
||||
It marks the header of a document or section.
|
||||
|
||||
### --question--
|
||||
|
||||
#### --text--
|
||||
|
||||
Which element is used to contain the main content of a web page?
|
||||
|
||||
#### --distractors--
|
||||
|
||||
`nav`
|
||||
|
||||
---
|
||||
|
||||
`article`
|
||||
|
||||
---
|
||||
|
||||
`section`
|
||||
|
||||
#### --answer--
|
||||
|
||||
`main`
|
||||
|
||||
### --question--
|
||||
|
||||
#### --text--
|
||||
|
||||
What is the correct use of the `nav` element?
|
||||
|
||||
#### --distractors--
|
||||
|
||||
To define the header of a document.
|
||||
|
||||
---
|
||||
|
||||
To display metadata about a webpage.
|
||||
|
||||
---
|
||||
|
||||
To contain the main content of the page.
|
||||
|
||||
#### --answer--
|
||||
|
||||
To represent a section with navigation links.
|
||||
|
||||
### --question--
|
||||
|
||||
#### --text--
|
||||
|
||||
Which element is used to mark text with stress emphasis?
|
||||
|
||||
#### --distractors--
|
||||
|
||||
`mark`
|
||||
|
||||
---
|
||||
|
||||
`i`
|
||||
|
||||
---
|
||||
|
||||
`b`
|
||||
|
||||
#### --answer--
|
||||
|
||||
`em`
|
||||
|
||||
### --question--
|
||||
|
||||
#### --text--
|
||||
|
||||
What is the purpose of the `figure` element?
|
||||
|
||||
#### --distractors--
|
||||
|
||||
To define the main content of the page.
|
||||
|
||||
---
|
||||
|
||||
To group multiple articles together.
|
||||
|
||||
---
|
||||
|
||||
To represent a section with navigation links.
|
||||
|
||||
#### --answer--
|
||||
|
||||
To contain illustrations and diagrams.
|
||||
|
||||
### --question--
|
||||
|
||||
#### --text--
|
||||
|
||||
Which element is used to represent a short inline quotation?
|
||||
|
||||
#### --distractors--
|
||||
|
||||
`blockquote`
|
||||
|
||||
---
|
||||
|
||||
`span`
|
||||
|
||||
---
|
||||
|
||||
`cite`
|
||||
|
||||
#### --answer--
|
||||
|
||||
`q`
|
||||
|
||||
### --question--
|
||||
|
||||
#### --text--
|
||||
|
||||
What is the purpose of the `time` element?
|
||||
|
||||
#### --distractors--
|
||||
|
||||
To define a script execution time.
|
||||
|
||||
---
|
||||
|
||||
To define the main content of the page.
|
||||
|
||||
---
|
||||
|
||||
To highlight important text.
|
||||
|
||||
#### --answer--
|
||||
|
||||
To represent a date or time value.
|
||||
|
||||
### --question--
|
||||
|
||||
#### --text--
|
||||
|
||||
Which element is used to represent an abbreviation or acronym?
|
||||
|
||||
#### --distractors--
|
||||
|
||||
`var`
|
||||
|
||||
---
|
||||
|
||||
`cite`
|
||||
|
||||
---
|
||||
|
||||
`code`
|
||||
|
||||
#### --answer--
|
||||
|
||||
`abbr`
|
||||
|
||||
### --question--
|
||||
|
||||
#### --text--
|
||||
|
||||
What is the purpose of the `blockquote` element?
|
||||
|
||||
#### --distractors--
|
||||
|
||||
To represent a short inline quotation.
|
||||
|
||||
---
|
||||
|
||||
To define a paragraph with larger text.
|
||||
|
||||
---
|
||||
|
||||
To define the main content of the page.
|
||||
|
||||
#### --answer--
|
||||
|
||||
To represent a section quoted from another source.
|
||||
|
||||
### --question--
|
||||
|
||||
#### --text--
|
||||
|
||||
Which element is used to represent a list of term-description groupings?
|
||||
|
||||
#### --distractors--
|
||||
|
||||
`ul`
|
||||
|
||||
---
|
||||
|
||||
`table`
|
||||
|
||||
---
|
||||
|
||||
`ol`
|
||||
|
||||
#### --answer--
|
||||
|
||||
`dl`
|
||||
|
||||
### --question--
|
||||
|
||||
#### --text--
|
||||
|
||||
What is the purpose of the `cite` element?
|
||||
|
||||
#### --distractors--
|
||||
|
||||
To represent a short inline quotation.
|
||||
|
||||
---
|
||||
|
||||
To represent a highlighted word.
|
||||
|
||||
---
|
||||
|
||||
To define the main content of the page.
|
||||
|
||||
#### --answer--
|
||||
|
||||
To attribute the source of a referenced work.
|
||||
|
||||
### --question--
|
||||
|
||||
#### --text--
|
||||
|
||||
Which element is used to represent superscript text?
|
||||
|
||||
#### --distractors--
|
||||
|
||||
`sub`
|
||||
|
||||
---
|
||||
|
||||
`abbr`
|
||||
|
||||
---
|
||||
|
||||
`strong`
|
||||
|
||||
#### --answer--
|
||||
|
||||
`sup`
|
||||
|
||||
### --question--
|
||||
|
||||
#### --text--
|
||||
|
||||
What is the purpose of the `address` element?
|
||||
|
||||
#### --distractors--
|
||||
|
||||
To define the main content of the page.
|
||||
|
||||
---
|
||||
|
||||
To define the address of a hyperlink.
|
||||
|
||||
---
|
||||
|
||||
To represent a section with navigation links.
|
||||
|
||||
#### --answer--
|
||||
|
||||
To represent contact information for the author or owner of a webpage.
|
||||
|
||||
### --question--
|
||||
|
||||
#### --text--
|
||||
|
||||
Which element is used to represent preformatted text?
|
||||
|
||||
#### --distractors--
|
||||
|
||||
`code`
|
||||
|
||||
---
|
||||
|
||||
`samp`
|
||||
|
||||
---
|
||||
|
||||
`blockquote`
|
||||
|
||||
#### --answer--
|
||||
|
||||
`pre`
|
||||
|
||||
### --question--
|
||||
|
||||
#### --text--
|
||||
|
||||
What is the purpose of the `strong` element?
|
||||
|
||||
#### --distractors--
|
||||
|
||||
To mark text with stress emphasis.
|
||||
|
||||
---
|
||||
|
||||
To make text italic.
|
||||
|
||||
---
|
||||
|
||||
To highlight text that is not important.
|
||||
|
||||
#### --answer--
|
||||
|
||||
To mark text with strong importance.
|
||||
|
||||
### --question--
|
||||
|
||||
#### --text--
|
||||
|
||||
Which element is used to represent a fragment of computer code?
|
||||
|
||||
#### --distractors--
|
||||
|
||||
`pre`
|
||||
|
||||
---
|
||||
|
||||
`var`
|
||||
|
||||
---
|
||||
|
||||
`blockquote`
|
||||
|
||||
#### --answer--
|
||||
|
||||
`code`
|
||||
|
||||
### --question--
|
||||
|
||||
#### --text--
|
||||
|
||||
What is the purpose of the `abbr` element?
|
||||
|
||||
#### --distractors--
|
||||
|
||||
To represent a date or time value.
|
||||
|
||||
---
|
||||
|
||||
To add tooltips to text.
|
||||
|
||||
---
|
||||
|
||||
To represent a short inline quotation.
|
||||
|
||||
#### --answer--
|
||||
|
||||
To represent an abbreviation or acronym.
|
||||
|
||||
### --question--
|
||||
|
||||
#### --text--
|
||||
|
||||
Which element is used to represent a long quotation from another source?
|
||||
|
||||
#### --distractors--
|
||||
|
||||
`q`
|
||||
|
||||
---
|
||||
|
||||
`mark`
|
||||
|
||||
---
|
||||
|
||||
`cite`
|
||||
|
||||
#### --answer--
|
||||
|
||||
`blockquote`
|
||||
|
||||
### --question--
|
||||
|
||||
#### --text--
|
||||
|
||||
What is the purpose of the `dl` element?
|
||||
|
||||
#### --distractors--
|
||||
|
||||
To represent a list of items.
|
||||
|
||||
---
|
||||
|
||||
To define a list of numbered items.
|
||||
|
||||
---
|
||||
|
||||
To represent a section with navigation links.
|
||||
|
||||
#### --answer--
|
||||
|
||||
To represent a list of term-description groupings.
|
||||
|
||||
### --question--
|
||||
|
||||
#### --text--
|
||||
|
||||
Which element is used to represent subscript text?
|
||||
|
||||
#### --distractors--
|
||||
|
||||
`sup`
|
||||
|
||||
---
|
||||
|
||||
`small`
|
||||
|
||||
---
|
||||
|
||||
`strong`
|
||||
|
||||
#### --answer--
|
||||
|
||||
`sub`
|
||||
|
||||
Reference in New Issue
Block a user