<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>拖动事件</title>
<style>
.droptarget {
float:left;
width:100px;
height:35px;
margin:15px;
padding:10px;
border:1px solid #aaaaaa;
}
</style>
</head>
<body>
<p>在两个矩形框中来回拖动 p 元素:</p>
<divclass="droptarget" οndragοver="allowDrag(event)"οndrοp="dro