Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

HTML language

Posted on 1998-06-23
3
Medium Priority
?
229 Views
Last Modified: 2010-04-09
<a href =abc.html target="photo" >go to abc.html</a>
The above statement is require user to click the hyper link for going to the "abc.html".
How can I do same effect without require the user click?
In the other word, how can I make the brower go to the abc.html without a user click(automatically)?
0
Comment
Question by:cstsang
  • 2
3 Comments
 

Accepted Solution

by:
JeanE earned 60 total points
ID: 1844341
To automatically advance the visitor's browser to another document, such as "abc.html" use a <META> tag within the <HEAD></HEAD> portion of the HTML file.

Example:
<HTML>
<HEAD>
<TITLE>Example</TITLE>
<META HTTP-EQUIV="REFRESH" CONTENT="10" URL="abc.html">
</HEAD>
<BODY>
This page will automatically advance to "abc.html"  after 10 seconds.
You can set the CONTENT= to whatever value you choose.
</BODY>
</HTML>
0
 

Expert Comment

by:JeanE
ID: 1844342
Sorry, I mistyped here!

This line:

<META HTTP-EQUIV="REFRESH" CONTENT="10" URL="abc.html">

Should read this way:

<META HTTP-EQUIV="REFRESH" CONTENT="10;  URL=abc.html">

Note:  the open quotation marks BEFORE the specified # of seconds, the semi colon after and then the CLOSING quotation marks AFTER the URL.)

Also, as far as I know, the page will refresh only after the page is LOADED.

Jean
0
 
LVL 7

Author Comment

by:cstsang
ID: 1844343
I want the "abc.html" page display on specific frame.
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question