python(html 定时器删除)

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <div id="status"></div>
    <input type="button" value="shanc" onclick="DeleteEle();"/>
    <script>
        function DeleteEle() {
            document.getElementById('status').innerText = "yishanc";
            setTimeout(function () {
                    document.getElementById('status').innerText = ""
            },5000);
        }
    </script>
</body>
</html>