How do I get a back button on my page?
Answer / guest
In HTML, this is impossible. Going "back" means that you go
to the previous page in your history. You might be able to
create a link to the URL specified in the "HTTP_REFERER"
environment variable in your document, but that only creates
a link to a new location in your history. Even worse, the
information in that variable can be plain wrong. Some
browsers incorrectly send the variable when you use a
bookmark or type in an URL manually, and some don't send
that variable at all. Then you would end up with an empty link.
A JavaScript could use "history.back()" to do this, but this
only works in Netscape 2.
| Is This Answer Correct ? | 1 Yes | 1 No |
What is XHTML?
What is doctype good for?
What is ol tag?
What is the easiest way to convert my HTML documents to XHTML?
What does tagging someone mean?
Is there a limit to meta keywords?
What is the anchor tag?
How do I link an image to something?
Write an example that shows every attribute must have a value in xhtml?
How can I make a form with custom buttons?
What is the role of html in web designing?
What are the two basic tags in html list?