DEV Community

Shyam1806
Shyam1806

Posted on

Few Secret Tags In HTML

Time Page Refresh & Redirect

You Can Add a special tag inside your document to refresh the page at a set interval.

<meta http-equiv="refresh" content="20"

To Redirect the different websites with set interval
<meta http-equiv="refresh" content="20";https://dev.com

Disable Right Click

Prevents Right Clicking Entire Webpage
body oncontextmenu="return false"

Top comments (1)

Collapse
 
moopet profile image
Ben Sinclair

Please don't use tricks like this to disable right clicks - there's really no use case for it and it makes the web less usable!