This should work
<body onclick="window.location.href=filename">
body text
</body>
题
This is not a really difficult question, but how do you make the whole webpage clickable? I need this for my website I want that if you click anywhere a file is downloaded.
body {
ifclickanywhere - download file
}
解决方案
This should work
<body onclick="window.location.href=filename">
body text
</body>