Skip to main content

H5P Drag and Drop

Learn how to create drag and drop activity using H5P

Updated this week

Purpose

The purpose of this article is to provide step-by-step instructions on how to create a Drag and Drop activity using H5P.

Procedure

  1. Go to the More dropdown menu on your course page.

    Course tabs with the More tab highlighted

  2. Select Content bank.

    Options in the More tab with Content bank highlighted

  3. Click the Add button.

    Button labeled Add

  4. Scroll down to the Drag and Drop option and click it.

    Activity types with the Drag and Drop activity highlighted

  5. Name your activity.

    Text box for adding a title

  6. Move to Task.

    Block labeled Step 2 Task

  7. You will see three icons. The circle is for setting drop zones, the T is for adding text labels, and the photo icon is for uploading images. Below, we start by adding images.

    Circular icon, T icon, and photo icon

  8. Add an image by clicking the Add button.

    Button labeled Add

  9. Make sure you add alt text for accessibility.

    Text box for adding alternative text for photos

  10. Click Done.

    Button labeled Done

  11. Drag your image to the proper location and resize if necessary.

    Icon for moving and resizing image


  12. Repeat as needed. Below, there are four images arranged along the top of the Task box.

    Four images added to the activity

  13. Click the T in the icon bar at the top of the Task box to add text. Click Done after you type in the label.

    Ribbon with different icons


    Button labeled Done


  14. Drag your text to your preferred spot in the Task box and then click the T to add more labels.

    Four images with one labeled

  15. Repeat as necessary.

    Four images with all four labeled

  16. Now move to the circular icon to add drop zones. Label your drop zones by number.

    Label category with Drop Zone 1 added as a label

  17. Check the boxes as shown below.

    This drop zone can only contain one element is checked. Enable Auto-align is checked.

  18. Click Done and repeat adding drop zones as necessary. You can use the copy icon and the clipboard button if you like, but remember to rename your copied content.

    Copy icon

  19. Below, three drop zones have been added. After adding a final drop zone, all drop zones need be arranged properly and stretched to match the image size.

    Four images, four labels, and 3 drop zones

  20. You can make sure the boxes are the same size by matching the size numbers that display when you start pulling the edges. The size below is 130 x 80.

    Drop zone adjusted to a specific position and size

  21. Now it’s time to make the images draggable. Click on each of your images one at a time and then click on the editing pen. On the page that appears, select all drop zones for each image. Click Done after each one.

    Ring image with editing pen selected on toolbar
    Checked drop zones

  22. You can see below that three out of four of the images are draggable because they have a border outline.

    Drop zones with dashed outlines

  23. The last step is to add the correct answer for each of the drop zones. Click on the first drop zone box and then click on the editing pen.

    Drop zone with toolbar icons including a pen above it

  24. Select the correct answer.

    One answer checkbox selected

  25. Save all your changes.

    Button labeled Save

  26. View of completed content bank Drag and Drop activity.

    View of completed activity

  27. Test the activity. Drag each image to the drop zone nearest to the correct label.

    Tested activity with a perfect score

  28. If the “play” area seems too crowded, go back to your content’s settings and change the task size.

    Task size changed to 900 x 550

  29. Now it’s time to add the content to your course. Click the Course tab.

    Course tabs with More tab highlighted

  30. Make sure Edit mode is on.

  31. Click Add an activity or resource.

  32. Add an H5P activity.

  33. Type in the activity name, a description (optional) and check the Display description on course page (optional).

  34. Click the file icon.

    File icon labeled Files

  35. Choose Content back from the File picker menu and select your content.

    File picker options with Content bank selected

  36. Verify and click Select this file.

    Button labeled Select this file

  37. Set activity criteria as you normally would.

    Partial view of settings sections

  38. Save your changes.

    Buttons labeled Save and return to course and Save and display


  39. Your H5P activity will display on your course page.


  40. H5P Drag and Drop can be used for all sorts of subjects where matching photos to terms might be helpful, e.g., human anatomy, geographical features, sign language, and more!

Did this answer your question?