Put in order · Next.js course · Module 1: Next.js Configuration

Using the Image Component

Arrange the syntax for using the Image component from Next.js

Items to put in order

  • from 'next/image'
  • <Image src
  • import Image
  • alt />
Show the answer

Correct order:

  1. import Image
  2. from 'next/image'
  3. <Image src
  4. alt />