Complete the code to add a basic Open Graph title meta tag in a Next.js Head component.
<Head> <meta property="og:title" content="[1]" /> </Head>
The content attribute holds the Open Graph title text. Here, "My Website" is the correct value.
Complete the code to add an Open Graph image meta tag with the URL '/og-image.png'.
<Head> <meta property="og:image" content=[1] /> </Head>
The content attribute must be a string with quotes. Double quotes are standard in JSX.
Fix the error in the Open Graph meta tag for description by completing the content attribute correctly.
<Head> <meta property="og:description" content=[1] /> </Head>
The content attribute requires a string wrapped in double quotes in JSX. Option A is correct.
Fill both blanks to add Open Graph title and type meta tags correctly.
<Head> <meta property="[1]" content="My Site" /> <meta property="[2]" content="website" /> </Head>
The first meta tag sets the Open Graph title, and the second sets the type of content.
Fill all three blanks to add Open Graph title, description, and image meta tags correctly.
<Head> <meta property="[1]" content="Welcome to my site" /> <meta property="[2]" content="The best site ever" /> <meta property="[3]" content="/images/og.png" /> </Head>
The meta tags set the Open Graph title, description, and image respectively.