# Hand coding question - Frames

**URL:** https://forum.kirupa.com/t/hand-coding-question-frames/30009
**Category:** web dev
**Created:** [September 2, 2003, 10:37pm UTC](https://forum.kirupa.com/t/hand-coding-question-frames/30009 "2003-09-02T22:37:21Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![brintonwhite](https://avatars.discourse-cdn.com/v4/letter/b/cdc98d/32.png) [@brintonwhite](https://forum.kirupa.com/u/brintonwhite)
#### Post date: [September 2, 2003, 10:37pm UTC](https://forum.kirupa.com/t/hand-coding-question-frames/30009/1 "2003-09-02T22:37:21Z")

</div>

Hope I can post this here - I am using notepad to hand code …

I am working to learn frames and have got off to a good start, but now I need a little advice. I wll post my page at the end of this post so you can look at the HTML. Here goes

1. How do I get the homepage to open in the right frame when the site opens (I get the site not found page)

2. If I want the links page to open in a different window, can you tell me what to do?

Thank you in advance, please note that I am a new comer to html, so can you tell me exactly where to place any new code that you tell me about.

[http://www22.brinkster.com/tallpox](http://www22.brinkster.com/tallpox)

PS no adds on this site:)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 2, 2003, 10:41pm UTC](https://forum.kirupa.com/t/hand-coding-question-frames/30009/2 "2003-09-02T22:41:10Z")

</div>

you upload right.html into the same directory as index.htm (make sure that it is HTML NOT HTM because you wrote HTML in your code.)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 2, 2003, 10:42pm UTC](https://forum.kirupa.com/t/hand-coding-question-frames/30009/3 "2003-09-02T22:42:38Z")

</div>

1. [http://www22.brinkster.com/tallpox/right.html](http://www22.brinkster.com/tallpox/right.html) does not exist and that is why you are getting a page not found error in the right frame 😉

2. \<A TARGET="\_blank" HREF=“url”\>link\</A\> will open your link in a new window.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 2, 2003, 10:55pm UTC](https://forum.kirupa.com/t/hand-coding-question-frames/30009/4 "2003-09-02T22:55:14Z")

</div>

Thanks guys, I now have the links page opening up in a seperate window. But I need to ask yeldarb, I don’t have a right.html

What do I need to put in this html page? Thank you both.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 2, 2003, 10:56pm UTC](https://forum.kirupa.com/t/hand-coding-question-frames/30009/5 "2003-09-02T22:56:33Z")

</div>

whatever you want to be in the right frame  
(lost said this too :P)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 2, 2003, 11:07pm UTC](https://forum.kirupa.com/t/hand-coding-question-frames/30009/6 "2003-09-02T23:07:56Z")

</div>

This is your current code

```php
<html>
<head><title>Home</title></head>

<frameset Cols="150,*">
<frame name="left" src="left.html">
<frame name="right" src="right.html">

</frameset>

</html>

```

First you are missing the BODY tag…

```php
<html>
<head><title>Home</title></head>
<body>

<frameset Cols="150,*">
<frame name="left" src="left.html">
<frame name="right" src="right.html">

</frameset>

</body>
</html>

```

2nd, to edit what goes in the right frame, edit the SRC attribute of the frame on the right (in this case it is the framed named “right”)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 2, 2003, 11:19pm UTC](https://forum.kirupa.com/t/hand-coding-question-frames/30009/7 "2003-09-02T23:19:53Z")

</div>

Yes I have done it now. Thanks fellows. One thing I should mention. In the book I have it tells me that the frameset tag replaces the body tag?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 2, 2003, 11:32pm UTC](https://forum.kirupa.com/t/hand-coding-question-frames/30009/8 "2003-09-02T23:32:58Z")

</div>

it can, but it’s still good practice to put it in there 🙂
