Skip to content Skip to sidebar Skip to footer

How To Display Multiple Html Pages Using Single Index.html

I have multiple html pages and i want to display them all using a index.html, but i don't want to use any link button or any thing. I want to display them after a time period. How

Solution 1:

You can use meta tag in every page header. and inside the meta tag you can put your redirect link and time.

<METAhttp-equiv="refresh"content="5;URL=http://www.stackoverflow.com/">

This is the time in second.

content="5;

Solution 2:

Try this . For every individual HTML page you have to put this code and redirect it to the next html page .

<scripttype="text/javascript">setTimeout(function(){
   window.location.href = 'http://www.google.com'
  },60000)
</script>

Post a Comment for "How To Display Multiple Html Pages Using Single Index.html"