In HTML redirection, the content attribute of the meta tag should contain the number of seconds to pause before doing the redirection and the page where to redirect. The above sourcecode will redirect the current page to http://localhost/redirect.php in 0 second.

If you want to notify your visitor before redirecting, you can specify the number of seconds to pause. This way, you can display a message in your current page.