Search
 
SCRIPT & CODE EXAMPLE
 

HTML

HTML redirect

<!DOCTYPE html>
<html>
  <head>
    <title>Loading...</title>
    <meta http-equiv="refresh" content="0; url=http://example.com">
    <script>window.location.href = "http://example.com"</script>
  </head>
  <body>
    <p>Not redirected? Go to <a href="https://example.com">example.com</a></p>
  </body>
</html>
Comment

html redirect

<!DOCTYPE html>
<html>
   <head>
      <title>HTML Meta Tag</title>
      <meta http-equiv = "refresh" content = "2; url = https://www.tutorialspoint.com" />
   </head>
   <body>
      <p>Hello HTML5!</p>
   </body>
</html>
Comment

how to redirect a page to another url in html

<meta http-equiv="Refresh" content="0; url=https://www.w3docs.com" />
Comment

redirect html

<meta http-equiv="refresh" content="time; URL=new_url" />
Comment

html redirect

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://website.com">    
<title>Redirect</title>
</head>
<body>
</body>
</html>
Comment

Html redirect

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0;url=http://newdomain.com/"> 
</head>
<body>
</body>
</html>
Comment

html redirect

<meta http-equiv="refresh" content="0; url=http://example.com">
<script>window.location.href = "http://example.com"</script>
Comment

redirect page via html

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv = "refresh" content = "0; url = https://www.example.com"/>
  </head>
  <body></body>
</html>
Comment

html redirect to another page

<script>
  function foo() {
  	window.location.href = url
  }
</script>
Comment

html redirect

<meta http-equiv="refresh" content="5;url=http://example.com/" />
Comment

PREVIOUS NEXT
Code Example
Html :: html bold text 
Html :: how to change color in html 
Html :: how to get text in middle of page html 
Html :: bootstrap display block 
Html :: how to make new line in html paragraph 
Html :: svg icon not showing html 
Html :: prevent from going to a function html click 
Html :: html remove space after paragraph 
Html :: iframe youtube not working 
Html :: bootstrap progress bar 
Html :: png favicon 
Html :: bold html 
Html :: how to change size of image in html 
Html :: index html example 
Html :: set an image half its original size css 
Html :: phone html 
Html :: fa fa-thumbs-o-up icon 
Html :: bootstrap 4.5 max-height 
Html :: how to display google map in html 
Html :: ejs ternary 
Html :: css loading spinner img 
Html :: email 
Html :: change icon title react 
Html :: html build system sublime text 3 
Html :: how to innerhtml is empty 
Html :: bootstrap 4 form input group 
Html :: change the entire page font 
Html :: how to give a space in html 
Html :: html scale svg 
Html :: div shift right 
ADD CONTENT
Topic
Content
Source link
Name
2+8 =