# Code for staying in the same window after clicking

**URL:** <https://forum.kirupa.com/t/code-for-staying-in-the-same-window-after-clicking/284809>\
**Category:** Uncategorized\
**Created:** [March 23, 2009, 9:32pm UTC](https://forum.kirupa.com/t/code-for-staying-in-the-same-window-after-clicking/284809 "2009-03-23T21:32:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tseyigai](https://avatars.discourse-cdn.com/v4/letter/t/47e85d/32.png) [@tseyigai](https://forum.kirupa.com/u/tseyigai)\
**Post date:** [March 23, 2009, 9:32pm UTC](https://forum.kirupa.com/t/code-for-staying-in-the-same-window-after-clicking/284809/1 "2009-03-23T21:32:22Z")

</div>

I have a new web page I’ve doing that works fine except that when one clicks on a link then you have to go all the way back to the introduction of the site. What would the code be for allowing one to “stay in the same window” after clicking on this link?

For example:  
\<a href=“[http://www.angelfire.com/in/HansonArtGallery/stephenportrait1.html"\>\<u\>"View](http://www.angelfire.com/in/HansonArtGallery/stephenportrait1.html%22%3E%3Cu%3E%22View) From the Past”-Self-Portrait\</u\>\</a\>\</font\>\<br\>\<font color="#ffc56c"\>

Thanks,  
Tseyigai
