Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Where to place noframes tag XHTML

Reply
Thread Tools

Where to place noframes tag XHTML

 
 
sorry.no.email@spamsux.com
Guest
Posts: n/a
 
      03-25-2006
Hi,

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">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>Strong Family Site</title>
</head>
<frameset rows="175,*" cols="*">
<frame src="header.html" name="" scrolling="no" noresize="noresize"
id="" title="topFrame" frameborder="0" marginwidth="0"
marginheight="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" />
</frameset>
</frameset>
<noframes></noframes>
</html>

Thanks to anybody who can guide me with this one,

Andrew.
 
Reply With Quote
 
 
 
 
Steve Pugh
Guest
Posts: n/a
 
      03-25-2006
wrote:

> I am tearing my hair out to find the right place to place the
>noframes tage to satisfy the XHTML w3c validator.


Inside the outermost frameset.

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

Steve Pugh <> <http://steve.pugh.net/>
 
Reply With Quote
 
 
 
 
Alan J. Flavell
Guest
Posts: n/a
 
      03-25-2006
On Sun, 26 Mar 2006, wrote:

> I am tearing my hair out to find the right place to place the
> noframes tage to satisfy the XHTML w3c validator.


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:

http://www.w3.org/TR/REC-html40/pres....html#h-16.4.1

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:

[...]
</frameset>
<noframes>
<body><p>Meaningful content here!</p></body>
</noframes>
</frameset>

</html>

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
them.

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
 
Reply With Quote
 
nice.guy.nige
Guest
Posts: n/a
 
      04-02-2006
While the city slept,
() feverishly typed...

> Hi,

[...]

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.

Cheers,
Nige

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


 
Reply With Quote
 
Runja Hasslich
Guest
Posts: n/a
 
      04-03-2006
nice.guy.nige wrote:

> While the city slept,
> () feverishly typed...
>
>> Hi,

> [...]
>
> 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.
>
> Cheers,
> Nige
>

I do not think it is real.

Runja
 
Reply With Quote
 
hywel.jenkins@gmail.com
Guest
Posts: n/a
 
      04-03-2006

Runja Hasslich wrote:

> nice.guy.nige wrote:
>
> > While the city slept,
> > () feverishly typed...
> >
> >> Hi,

> > [...]
> >
> > 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.
> >
> > Cheers,
> > Nige
> >

> I do not think it is real.


Perhaps you should check whois:

Registrant:
Linecom +82.117134545
Linecom
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

--
Hywel

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
convert xhtml to another xhtml using xslt Usha2009 XML 0 12-20-2009 01:13 PM
Should I Convert Site To XHTML or XHTML mobile? chronos3d HTML 9 12-05-2006 04:46 PM
parse URL (href) from xhtml, xhtml -> text, for data hawat.thufir@gmail.com XML 7 02-08-2006 07:39 PM
how do u invoke Tag b's Tag Handler from within Tag a's tag Handler? shruds Java 1 01-27-2006 03:00 AM
HttpWebRequest only returning NOFRAMES part of page Toralf ASP .Net 2 10-04-2004 08:35 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57