Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How do I get a back button on my page?



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

Post New Answer

More HTML DHTML Interview Questions

What’s new HTML 5 DocType and Charset?

0 Answers  


What are tags in html?

0 Answers  


What is colspan in html?

0 Answers  


What is the difference between html and xhtml?

2 Answers  


Should I end my urls with a slash?

0 Answers  


Why html is markup language?

0 Answers  


What is the use of xhtml modules?

0 Answers  


Can I prevent a form from being submitted again?

0 Answers  


What is important tag in html?

0 Answers  


What is the correct definition of an html element?

0 Answers  


How many HTML tags are should be used for the most simple of web pages?

0 Answers  


What is local storage concept in HTML 5?

0 Answers  


Categories