In a web page, if you need to change the position of multiple elements, you can do this by dragging the elements. HTML5 adds a global attribute draggable, which controls whether an element can be dragged by setting true/false.
The following is an example of image dragging, implemented with jQuery: there are multiple images on the page, drag one image to the middle of the other two images, and the position of the image can be inserted between the two images. between.