# Very easy HTML Question (Part II): I'm gonna kick myself, I just know it.

**URL:** https://boards.straightdope.com/t/very-easy-html-question-part-ii-im-gonna-kick-myself-i-just-know-it/100383
**Category:** Factual Questions
**Created:** [March 27, 2002, 3:32pm UTC](https://boards.straightdope.com/t/very-easy-html-question-part-ii-im-gonna-kick-myself-i-just-know-it/100383 "2002-03-27T15:32:45Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Fenris](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/fenris/32/498_2.png) [@Fenris](https://boards.straightdope.com/u/Fenris)
#### Post date: [March 27, 2002, 3:32pm UTC](https://boards.straightdope.com/t/very-easy-html-question-part-ii-im-gonna-kick-myself-i-just-know-it/100383/1 "2002-03-27T15:32:45Z")

</div>

I need the simplest way (I’m working in an environment that only allows HTML (no Javascript, etc.) and only some HTML commands at that.). My life would be vastly easier if I could find a way to make

```auto

<a href="www.straightdope.com">Font of all wisdom</a> 

```

to open a NEW window, rather than redirecting the page that the link is on (In other words, I want the link to open a second browser window)

I suspect I’m missing something mind-numbingly obvious. I checked the HTML Goodies page and couldn’t find an obvious answer.

Thanks

Fenris

---

<div class="post-metadata">

### Author: ![El\_Cheapo](https://avatars.discourse-cdn.com/v4/letter/e/8e7dd6/32.png) [@El\_Cheapo](https://boards.straightdope.com/u/El_Cheapo)
#### Post date: [March 27, 2002, 3:49pm UTC](https://boards.straightdope.com/t/very-easy-html-question-part-ii-im-gonna-kick-myself-i-just-know-it/100383/2 "2002-03-27T15:49:11Z")

</div>

add target="\_blank" in the tag

---

<div class="post-metadata">

### Author: ![TheNerd](https://avatars.discourse-cdn.com/v4/letter/t/858c86/32.png) [@TheNerd](https://boards.straightdope.com/u/TheNerd)
#### Post date: [March 27, 2002, 3:50pm UTC](https://boards.straightdope.com/t/very-easy-html-question-part-ii-im-gonna-kick-myself-i-just-know-it/100383/3 "2002-03-27T15:50:23Z")

</div>

check out the “target” attribute. I think it’s “\_blank” that does that.

---

<div class="post-metadata">

### Author: ![wring](https://avatars.discourse-cdn.com/v4/letter/w/838e76/32.png) [@wring](https://boards.straightdope.com/u/wring)
#### Post date: [March 27, 2002, 3:52pm UTC](https://boards.straightdope.com/t/very-easy-html-question-part-ii-im-gonna-kick-myself-i-just-know-it/100383/4 "2002-03-27T15:52:53Z")

</div>

::prostrate with grief and confusion::  
but it’s **Fenris** to whom I direct all of my “what do I do now” questions.

please, oh please, for the love of all that’s holy, don’t tell me that **Fenris** is (gasp) fallible!~!?!?!?.

😃

---

<div class="post-metadata">

### Author: ![Why\_A\_Duck](https://avatars.discourse-cdn.com/v4/letter/w/13edae/32.png) [@Why\_A\_Duck](https://boards.straightdope.com/u/Why_A_Duck)
#### Post date: [March 27, 2002, 3:53pm UTC](https://boards.straightdope.com/t/very-easy-html-question-part-ii-im-gonna-kick-myself-i-just-know-it/100383/5 "2002-03-27T15:53:23Z")

</div>

So in summary…

\<a href=“[www.straightdope.com](http://www.straightdope.com)” target="\_blank"\>Font of all wisdom\</a\>

---

<div class="post-metadata">

### Author: ![wring](https://avatars.discourse-cdn.com/v4/letter/w/838e76/32.png) [@wring](https://boards.straightdope.com/u/wring)
#### Post date: [March 27, 2002, 3:54pm UTC](https://boards.straightdope.com/t/very-easy-html-question-part-ii-im-gonna-kick-myself-i-just-know-it/100383/6 "2002-03-27T15:54:02Z")

</div>

damn coding errors.

that autta be:  
:: prostrate … : not the damn 😛

---

<div class="post-metadata">

### Author: ![Why\_A\_Duck](https://avatars.discourse-cdn.com/v4/letter/w/13edae/32.png) [@Why\_A\_Duck](https://boards.straightdope.com/u/Why_A_Duck)
#### Post date: [March 27, 2002, 3:56pm UTC](https://boards.straightdope.com/t/very-easy-html-question-part-ii-im-gonna-kick-myself-i-just-know-it/100383/7 "2002-03-27T15:56:05Z")

</div>

And for completeness sake, it should be:

\<a href="\*\*http://\*\*[www.straightdope.com](http://www.straightdope.com)" **target="\_blank"** \>Font of all  
wisdom\</a\>

---

<div class="post-metadata">

### Author: ![lexi](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lexi/32/6806_2.png) [@lexi](https://boards.straightdope.com/u/lexi)
#### Post date: [March 27, 2002, 3:56pm UTC](https://boards.straightdope.com/t/very-easy-html-question-part-ii-im-gonna-kick-myself-i-just-know-it/100383/8 "2002-03-27T15:56:17Z")

</div>

Don’t forget the http:// part of the link.

\<a href=“[http://www.straightdope.com](http://www.straightdope.com)” target="\_blank"\>Font of all wisdom\</a\>

---

<div class="post-metadata">

### Author: ![CurtC](https://avatars.discourse-cdn.com/v4/letter/c/ce73a5/32.png) [@CurtC](https://boards.straightdope.com/u/CurtC)
#### Post date: [March 27, 2002, 4:16pm UTC](https://boards.straightdope.com/t/very-easy-html-question-part-ii-im-gonna-kick-myself-i-just-know-it/100383/9 "2002-03-27T16:16:25Z")

</div>

Are you sure that you want to open the link in a new browser window? Think twice or three times about that. Many users out there run their browser in full-screen mode, and opening another window just confuses them. When developing web sites or software, I always think of my mom as the target user.

---

<div class="post-metadata">

### Author: ![sailor](https://avatars.discourse-cdn.com/v4/letter/s/a587f6/32.png) [@sailor](https://boards.straightdope.com/u/sailor)
#### Post date: [March 27, 2002, 4:51pm UTC](https://boards.straightdope.com/t/very-easy-html-question-part-ii-im-gonna-kick-myself-i-just-know-it/100383/10 "2002-03-27T16:51:24Z")

</div>

Ahem, I have similar questions all the time. Like, how do you do what I just saw done in _this_ page. Then I look at the source code of _that_ page and find the asnwer right there. Couldn’t be easier.
