Joke Collection Website - Talk about mood - How to jump automatically in html pages?
How to jump automatically in html pages?
If you don't know JavaScript, you can use html.
The content property sets the time url to the target page.
Put it in Hyde.
You can jump from page to page continuously ~
Home page code:
& ltmeta http-equiv = " Refresh " content = " 3; URL = 1 1 1 1 1 1 1 . html "/>
Code111111.html page:
& ltmeta http-equiv = " Refresh " content = " 3; URL=2222222.html" />
2222222.htnl page code:
& ltmeta http-equiv = " Refresh " content = " 3; URL=3333333.html" />
The above code enters the111111.html page after 3 seconds from the home page, and then enters the 2222222.html page for 3 seconds.
======================================================
Because the landlord didn't understand me, send the complete code directly ~
The first file name is index.html, and the code is as follows:
& lt! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN " " http://www . w3 . org/TR/XHTML 1/DTD/XHTML 1-Transitional . DTD " & gt;
& lthtml xmlns = " http://www . w3 . org/ 1999/XHTML " & gt;
& lthead & gt
& ltmeta http-equiv = " Content-Type " Content = " text/html; charset=utf-8" />
& lttitle & gt untitled document
& ltmeta http-equiv = " Refresh " content = " 5; URL= 1.html" />
& lt/head & gt;
& ltbody & gt
& lth 1 & gt;
The name of this page is index.html.
This is the first one without noodles. . . . & ltbr/>;
Go to the second page in five seconds. . . & ltbr/>;
These two pages will turn in cycles.
& lt/h 1 & gt;
& lt/body & gt;
& lt/html & gt;
The file name of the second file is 1.html code is as follows:
& lt! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN " " http://www . w3 . org/TR/XHTML 1/DTD/XHTML 1-Transitional . DTD " & gt;
& lthtml xmlns = " http://www . w3 . org/ 1999/XHTML " & gt;
& lthead & gt
& ltmeta http-equiv = " Content-Type " Content = " text/html; charset=utf-8" />
& lttitle & gt untitled document
& ltmeta http-equiv = " Refresh " content = " 5; URL = index . html "/& gt;
& lt/head & gt;
& ltbody & gt
& lth3 & gt
The file name of this page is1.html.
This is the second noodle. . . . & ltbr/>;
Go to the first page in five seconds. .
& lt/H3 & gt;
& lt/body & gt;
& lt/html & gt;
= = = = = = = = End
The key label here is
and
Don't look at the rest ~ this is absolutely ok, I have already tried.
- Previous article:Diguo, talk about it.
- Next article:After half a year, I am in the mood to say that time flies.
- Related articles
- Is China-Pakistan friendship really that strong?
- It's dawn, I should go to bed!
- If you suddenly don't want to contact anyone, let me know.
- Introduction of Yongjia Wheat Cake
- The female audience for "Changjin Lake" is as high as 50.8%. Why do women in the new era also like war movies?
- Good night information sentence of the object
- Can you accept your girlfriend playing games and talking with other men?
- "Graphic Puzzle" Lesson Plan for Middle Classes
- A collection of warm-hearted sentences (60 sentences) that bask in the sun in the morning and eat well.
- What kind of mood will it be to be stood up by friends after careful preparation?