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 meta description tag example?
Tell me about technologies that we use in dhtml?
What is html and its uses?
What is called in html?
What Difference between FontSize and Font Size in DHTML?
What are the html tags used to display the data in the tabular form?
How do you make frames?
What is a header in code?
Explain bullet types in html?
List out the page structure elements of html5.
What is unpaired tag?
What is a web tag?