Bird
0
0

Which of the following is the correct syntax to insert a Navigation block in the Site Editor?

easy📝 Syntax Q3 of 15
Wordpress - Themes and Appearance
Which of the following is the correct syntax to insert a Navigation block in the Site Editor?
A<block navigation></block>
B<wp:navigation></wp:navigation>
C<navigation-block></navigation-block>
D<!-- wp:navigation /-->
Step-by-Step Solution
Solution:
  1. Step 1: Recall block comment syntax in WordPress

    WordPress uses HTML comments with block names for block syntax.
  2. Step 2: Identify correct Navigation block syntax

    The correct form is , others are invalid or incorrect formats.
  3. Final Answer:

    <!-- wp:navigation /--> -> Option D
  4. Quick Check:

    Navigation block syntax = <!-- wp:navigation /--> [OK]
Quick Trick: WordPress blocks use HTML comment syntax with wp:blockname [OK]
Common Mistakes:
  • Using XML-like tags instead of comment syntax
  • Confusing block names with HTML tags

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Wordpress Quizzes