Where to place noframes tag XHTML

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

 I am tearing my hair out to find the right place to place the
noframes tage to satisfy the XHTML w3c validator. The following is
incorrect, can someone please help me!!!:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd ">
<html xmlns="http://www.w3.org/1999/xhtml ">
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>Strong Family Site</title>
<frameset rows="175,*" cols="*">
  <frame src="header.html" name="" scrolling="no" noresize="noresize"
id="" title="topFrame" frameborder="0" marginwidth="0"
  <frameset rows="*" cols="135,*">
    <frame src="navigation.html" name="" scrolling="auto"
noresize="noresize" id="" title="leftFrame" frameborder="0"
marginwidth="0" marginheight="0" />
    <frame src="welcome.html" name="main" frameborder="0"
scrolling="auto" marginwidth="0" marginheight="0" id="main" />

Thanks to anybody who can guide me with this one,


Re: Where to place noframes tag XHTML

sorry.no.email@spamsux.com wrote:

Quoted text here. Click to load it

Inside the outermost frameset.

"My theories appal you, my heresies outrage you,
 I never answer letters and you don't like my tie."  - The Doctor

Re: Where to place noframes tag XHTML

On Sun, 26 Mar 2006, sorry.no.email@spamsux.com wrote:

Quoted text here. Click to load it

That seems a back-to-front way of describing your problem.

The point of doing validation is to assure yourself that you're
following the published specification.  So, surely the aim of the
exercise is to follow the specification - not to "satisfy the
validator" as you put it.  So the first place to seek enlightenment,
in this as well as any future set-to with the validator, would be the
specification.  The spec is http://www.w3.org/TR/xhtml1/ , but, since
that really only shows how HTML/4.01 can be reformulated into XHTML,
you probably want to first consult the HTML/4.01 spec for details:


and then mentally adjust that as necessary for XHTML.

Thus you see where the <noframes> element belongs, and what it needs
to contain.  Yours is empty, so it can't pass validation, no matter
where you put it.  And the example that's given in the HTML4 spec
cannot work in XHTML because it assumes an implicit <body> tag, which
XHTML doesn't allow.  So you need to enclose your content in a body
element.  Like this fragment:

<body><p>Meaningful content here!</p></body>


If you're still unclear, after having checked the validator's detailed
report and FAQ for explanations of common problems, then show which
part of the spec you're having problems understanding (as well as
including the text of the validator report), and someone will be
better able to advise you.

And I see that the validator is unhappy with other things in your
sample, which you haven't yet fixed.

Didn't anyone mention that frames are not generally well-liked?
Although originally invented by Netscape, they took them off the main
part of their own web site within about half a year of starting to use

As for nested framesets, well...

If you're going to move from HTML to XHTML, there are several other
things which call for attention, but which don't necessarily cause the
validator to report an error.  The compatibility guidelines of
XHTML/1.0 appendix C are a bit of a muddle, but they *do* need your
attention.  It's no use just putting a "meta http-equiv" into XHTML in
order to define the character encoding - that feature has no meaning
to XHTML proper, it's only used as a compatibility feature for sending
XHTML as text/html.  If you aren't bothering to create proper XHTML in
the first place, one would have to ask what's your aim in trying to
call something XHTML when it's really only (bad) HTML?  I'd have to
recommend continuing to write HTML/4.01, correctly, unless and until
you're ready to take XHTML fully on board.

Have fun

OT (was Re: Where to place noframes tag XHTML)

While the city slept, sorry.no.email@spamsux.com
(sorry.no.email@spamsux.com) feverishly typed...

Quoted text here. Click to load it

As an aside, do you own the domain spamsux.com, or have permission to use
it? If not, the legitimate owners may be a little annoyed with the spam they
are now getting.


Nigel Moss http://www.nigenet.org.uk
Mail address will bounce. nigel@DOG.nigenet.org.uk | Take the DOG. out!
"Your mother ate my dog!", "Not all of him!"

Re: OT (was Re: Where to place noframes tag XHTML)

nice.guy.nige wrote:

Quoted text here. Click to load it
I do not think it is real.


Re: OT (was Re: Where to place noframes tag XHTML)

Runja Hasslich wrote:

Quoted text here. Click to load it

Perhaps you should check whois:

  Linecom patent@joins.com +82.117134545
  1 Sejongro
  Jongro,Seoul,KR 100-050

  Domain Name:spamsux.com
  Record last updated at 2005-08-24 14:22:17
  Record created on 2005/8/24
  Record expired on 2006/8/24

  Domain servers in listed order:
  ns.induce.com ns.counter.co.kr


Site Timeline