Ive created a .html page, but now i want that when a user tries to open that .html page he must be automatically directed to .asp page without showing the contents of the .html page.
How can i do that ???
Please help !!!
Thank you !!!
Ive created a .html page, but now i want that when a user tries to open that .html page he must be automatically directed to .asp page without showing the contents of the .html page.
How can i do that ???
Please help !!!
Thank you !!!
Here is the code you need to redirect a user from one page to another using html.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>HTML Page Title</title>
<meta http-equiv="REFRESH" content="0;url=http://www.domain.com/page.asp"></head>
<body>
HTML Text
</body>
</html>
Here content="0; is the time in seconds the browser will wait and then redirects the user to the next page.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.