html code want

Discussion in 'HTML & Website Design' started by unitechy, Jun 3, 2006.

  1. #1
    Hello people,
I want html code to re-direct the user from one page to other without using hyperlink..
It should automatically get refreshed.
Eg-if user lands on index.html he should automatically land on main.html later..
Can you please help? Thanku
     
    unitechy, Jun 3, 2006 IP
  2. humm

    humm बहादुर बच्चा

    Messages:
    4,346
    Likes Received:
    850
    Best Answers:
    0
    Trophy Points:
    310
    #2
    you can add this in your header part

    <meta http-equiv="refresh" content="8; URL=tomysite.com">

    content= time can be made less.. for faster redirect.
     
    humm, Jun 3, 2006 IP
  3. unitechy

    unitechy Peon

    Messages:
    350
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks a lot sunny.

You mean to say i should add this to the index.html and content=8 where 8 is in seconds? 
Thanku very much.
Hey you from indian-forums?
I visit your blog regularly. You might've seen my replies too by name Apurva
     
    unitechy, Jun 3, 2006 IP
  4. mykoleary

    mykoleary Peon

    Messages:
    64
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    add that code inside the <head>...</head> section on the page you want the user to be redirected from (in your case, index.html) And yes, 8 = 8 seconds.
     
    mykoleary, Jun 4, 2006 IP
  5. humm

    humm बहादुर बच्चा

    Messages:
    4,346
    Likes Received:
    850
    Best Answers:
    0
    Trophy Points:
    310
    #5
    Yes add it to your main page from where you want your visitors to visit or goto a new page of your choice, time is 8 is 8 seconds appox. Add the code to your header part as I said before, ie., between <head>...</head> part.


    yes dude.. ;) Nice meeting ya through dp.. Will add you in yahoo :D
     
    humm, Jun 4, 2006 IP
  6. Link.ezer.com

    Link.ezer.com Peon

    Messages:
    647
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Link.ezer.com, Jun 16, 2006 IP