GH-900 · Question #54
Which of the following GitHub syntax formats is consistent with the associated text?
The correct answer is D. # This is a heading. In GitHub Markdown, a single # followed by a space creates a Heading 1, making D correct. The other options contain syntax errors: A uses single asterisks (text), which produces italic text - bold requires double asterisks (text). B uses an invalid comment format; the correct…
Question
Which of the following GitHub syntax formats is consistent with the associated text?
Options
- AThis is bolded text
- B<-- This is a comment --!>
- C(This is a link)[https://github.com]
- D
This is a heading
- E
- This is an ordered list
How the community answered
(26 responses)- D96% (25)
- E4% (1)
Explanation
In GitHub Markdown, a single # followed by a space creates a Heading 1, making D correct. The other options contain syntax errors: A uses single asterisks (text), which produces italic text - bold requires double asterisks (text). B uses an invalid comment format; the correct HTML comment syntax is <!-- comment -->. C reverses the Markdown link format - the correct syntax is [link text](URL), not (text)[URL]. E uses a hyphen (-), which creates an unordered (bulleted) list, not an ordered one; ordered lists use numbers like 1., 2., etc.
Topics
Community Discussion
No community discussion yet for this question.