/    Sign up×
Community /Pin to ProfileBookmark

Trouble with frames — need help

I am doing an online class and the assignment is to create a frameset where one of the links links from a frame to another frame and another link links to an external page. Below is some sample code that doesn’t seem to work. Can anyone tell me what I am doing wrong?

I have posted my code below:

<HTML>
<HEAD>
<TITLE> Navigational</TITLE>
</HEAD>
<BODY>
Stuffy nose? Can’t sleep? Allergies? Deviated septum? Snoring? At last there is help — <A HREF=”http://members.aol.com/dds4kids/order1.html”>”Breathe with EEZ”</a>!
</BODY>
</HTML>

<HTML>
<HEAD>
<TITLE>2Navigational Frame/TITLE>
</HEAD>
<BODY>
<CENTER>
<B>
<A HREF=”Diagnosis.htm” TARGET=”BODY”>1. How it works</A>
<A HREF=”Good solutions.htm” TARGET=”BODY”>2. Compare solutions</A>
</B>
</CENTER>
</BODY>
</HTML>

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd“>
<HTML>
<HEAD>
<TITLE> Body</TITLE>
</HEAD>
<BODY>
<FONT SIZE=+2>
<BLOCKQUOTE>

Breathe with EEZ is a nasal spring dialator that goes in the nose. It helps relieve clogged and congested nasal airways and helps you sleep. <br>

<br>

Safe, comfortable, and affordable — Breathe with EEZ is one of the most effective nasal dialators. People who have tried other nasal dialators and Breathe with EEZ will tell you that Breathe with EEZ works better than other over the counter appliances.
</BLOCKQUOTE>
</FONT>
</BODY>
</HTML>

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd“>
<HTML>
<HEAD>
<TITLE> Body_Intro</TITLE>
</HEAD>
<BODY>
<FONT SIZE=+1>
Breathe with EEZ — The best nasal appliance, stays in your nose comfortably while you sleep.
<BR>
</BR>

Breathe Right Nasal Strips — Can fall off your nose while you are sleeping, nasal dialation and patency are
not as effective as other leading brands.
<BR>
</BR>
Antihistimine nasal spray — Can only be used on a short term basis, can cause dry nasal passages leading,
and not recommended for people with rapid heart rates.
</FONT>
</BODY>
</HTML>

<HTML>
<HEAD>
<TITLE> Frame Container</TITLE>
</HEAD>
<FRAMESET COLS=”70″,*”>
<FRAME SRC=”FMenu.htm”>
<FRAME SRC=”FIntro.htm” NAME=”BODY”>
</FRAMESET>
<A HREF=”FIntro.htm”>view a non-framed version</a>
</NOFRAMES>
<A HREF=”FMenu.htm”>view a non-framed version</a>
</NOFRAMES>
</HTML>

Also, do I need to put all of these frames in their own separate URL in order to get them to load? This is the first frameset that I have ever made.

Would anyone know how I can indent a paragraph? Is this done with CSS and if so what do I do?

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@PeOfEoApr 08.2004 — <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

You have this doc type then I see the font element a few lines below. Why use a strict doc type if you are not going to use valid code.

Each of those blocks of code needs to be in its own file "its own url", it will not work if they are all in the same file. Css can be used for positioning of spans, but if you want to indent you would idealy use

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;

that is the special character for a non breaking space.

Famesets suck, frames in general suck. They should not be used except for the rare occasion where they would be useful, for example a chat room application where the page where the text is being updated needs to be refreshed and you are not using an applet. I cannot think of any other instances where frames should be used. Framsets are going to criple your ability to design and cripple the accessability of your site. What online class are you taking, please tell me you are not paying for it, you need to stop taking it.
Copy linkTweet thisAlerts:
@1_2_3authorAug 26.2006 — I am doing an online class and the assignment is to create a frameset where one of the links links from a frame to another frame and another link links to an external page. Below is some sample code that doesn't seem to work. Can anyone tell me what I am doing wrong?


I have posted my code below:

<HTML>

<HEAD>

<TITLE> Navigational</TITLE>

</HEAD>

<BODY>

Stuffy nose? Can't sleep? Allergies? Deviated septum? Snoring? At last there is help -- <A HREF="http://members.aol.com/dds4kids/order1.html">"Breathe with EEZ"</a>!

</BODY>

</HTML>

<HTML>

<HEAD>

<TITLE>2Navigational Frame/TITLE>

</HEAD>

<BODY>

<CENTER>

<B>

<A HREF="Diagnosis.htm" TARGET="BODY">1. How it works</A>

<A HREF="Good solutions.htm" TARGET="BODY">2. Compare solutions</A>

</B>

</CENTER>

</BODY>

</HTML>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<HTML>

<HEAD>

<TITLE> Body</TITLE>

</HEAD>

<BODY>

<FONT SIZE=+2>

<BLOCKQUOTE>

Breathe with EEZ is a nasal spring dialator that goes in the nose. It helps relieve clogged and congested nasal airways and helps you sleep. <br>

<br>

Safe, comfortable, and affordable -- Breathe with EEZ is one of the most effective nasal dialators. People who have tried other nasal dialators and Breathe with EEZ will tell you that Breathe with EEZ works better than other over the counter appliances.

</BLOCKQUOTE>

</FONT>

</BODY>

</HTML>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<HTML>

<HEAD>

<TITLE> Body_Intro</TITLE>

</HEAD>

<BODY>

<FONT SIZE=+1>

Breathe with EEZ -- The best nasal appliance, stays in your nose comfortably while you sleep.

<BR>

</BR>

Breathe Right Nasal Strips -- Can fall off your nose while you are sleeping, nasal dialation and patency are

not as effective as other leading brands.

<BR>

</BR>

Antihistimine nasal spray -- Can only be used on a short term basis, can cause dry nasal passages leading,

and not recommended for people with rapid heart rates.

</FONT>

</BODY>

</HTML>

<HTML>

<HEAD>

<TITLE> Frame Container</TITLE>

</HEAD>

<FRAMESET COLS="70",*">

<FRAME SRC="FMenu.htm">

<FRAME SRC="FIntro.htm" NAME="BODY">

</FRAMESET>

<A HREF="FIntro.htm">view a non-framed version</a>

</NOFRAMES>

<A HREF="FMenu.htm">view a non-framed version</a>

</NOFRAMES>

</HTML>

Also, do I need to put all of these frames in their own separate URL in order to get them to load? This is the first frameset that I have ever made.

Would anyone know how I can indent a paragraph? Is this done with CSS and if so what do I do?
×

Success!

Help @1_2_3 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...