Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Why is my home page not valid XHTML?

Reply
Thread Tools

Why is my home page not valid XHTML?

 
 
Dennis M. Marks
Guest
Posts: n/a
 
      02-24-2004
Why is my home page not valid XHTML? Everything except for the iframe
validates ok. Iframe is valid for XHTML 1.0 Strict.




This page is not Valid XHTML 1.0 Strict!

Below are the results of attempting to parse this document with an SGML
parser.

1. Line 33, column 12: there is no attribute "id" (explain...).
<iframe id="commentframe" src="comments.html">

2. Line 33, column 31: there is no attribute "src" (explain...).
<iframe id="commentframe" src="comments.html">

3. Line 33, column 46: element "iframe" undefined (explain...).
...id="commentframe" src="comments.html">

--
Dennis M. Marks
http://www.dcs-chico.com/~denmarks/
Replace domain.invalid with dcsi.net


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
 
Reply With Quote
 
 
 
 
DU
Guest
Posts: n/a
 
      02-24-2004
Dennis M. Marks wrote:

> Why is my home page not valid XHTML? Everything except for the iframe
> validates ok. Iframe is valid for XHTML 1.0 Strict.
>
>
>
>
> This page is not Valid XHTML 1.0 Strict!
>
> Below are the results of attempting to parse this document with an SGML
> parser.
>
> 1. Line 33, column 12: there is no attribute "id" (explain...).
> <iframe id="commentframe" src="comments.html">
>
> 2. Line 33, column 31: there is no attribute "src" (explain...).
> <iframe id="commentframe" src="comments.html">
>
> 3. Line 33, column 46: element "iframe" undefined (explain...).
> ...id="commentframe" src="comments.html">
>


<iframe> is *not* supported in XHTML strict.
http://www.w3.org/TR/2002/REC-xhtml1...TML-1.0-Strict

<iframe> is *only* supported in XHTML transitional.
http://www.w3.org/TR/2002/REC-xhtml1...nal.dtd_iframe

DU
 
Reply With Quote
 
 
 
 
Els
Guest
Posts: n/a
 
      02-24-2004


Dennis M. Marks wrote:

> Why is my home page not valid XHTML? Everything except for the iframe
> validates ok. Iframe is valid for XHTML 1.0 Strict.
>
> This page is not Valid XHTML 1.0 Strict!
>
> Below are the results of attempting to parse this document with an SGML
> parser.
>
> 1. Line 33, column 12: there is no attribute "id" (explain...).
> <iframe id="commentframe" src="comments.html">
>
> 2. Line 33, column 31: there is no attribute "src" (explain...).
> <iframe id="commentframe" src="comments.html">
>
> 3. Line 33, column 46: element "iframe" undefined (explain...).
> ...id="commentframe" src="comments.html">


iframes have names, iirc
name="commentframe"

don't know if in addition to that class would work for the
use of css?


--
Els

Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -

 
Reply With Quote
 
Mitja
Guest
Posts: n/a
 
      02-24-2004
"Els" <> wrote in message
news:403ab03b$0$41752$ i.nl...
>
>
> Dennis M. Marks wrote:
>
> > Why is my home page not valid XHTML? Everything except for the iframe
> > validates ok. Iframe is valid for XHTML 1.0 Strict.
> >
> > This page is not Valid XHTML 1.0 Strict!
> >
> > Below are the results of attempting to parse this document with an SGML
> > parser.
> >
> > 1. Line 33, column 12: there is no attribute "id" (explain...).
> > <iframe id="commentframe" src="comments.html">
> >
> > 2. Line 33, column 31: there is no attribute "src" (explain...).
> > <iframe id="commentframe" src="comments.html">
> >
> > 3. Line 33, column 46: element "iframe" undefined (explain...).
> > ...id="commentframe" src="comments.html">

>
> iframes have names, iirc
> name="commentframe"
>
> don't know if in addition to that class would work for the
> use of css?
>


Sure it would. "Class" property has nothing to do with the id or name of
the tag

Mitja

>
> --
> Els
>
> Sonhos vem. Sonhos vão. O resto é imperfeito.
> - Renato Russo -
>



 
Reply With Quote
 
Dennis M. Marks
Guest
Posts: n/a
 
      02-24-2004
I have read the following message from "Mitja" <>
and have decided to lend my vast knowledge.

The writer said:
> "Els" <> wrote in message
> news:403ab03b$0$41752$ i.nl...
> >
> >
> > Dennis M. Marks wrote:
> >
> > > Why is my home page not valid XHTML? Everything except for the iframe
> > > validates ok. Iframe is valid for XHTML 1.0 Strict.
> > >
> > > This page is not Valid XHTML 1.0 Strict!
> > >
> > > Below are the results of attempting to parse this document with an SGML
> > > parser.
> > >
> > > 1. Line 33, column 12: there is no attribute "id" (explain...).
> > > <iframe id="commentframe" src="comments.html">
> > >
> > > 2. Line 33, column 31: there is no attribute "src" (explain...).
> > > <iframe id="commentframe" src="comments.html">
> > >
> > > 3. Line 33, column 46: element "iframe" undefined (explain...).
> > > ...id="commentframe" src="comments.html">

> >
> > iframes have names, iirc
> > name="commentframe"
> >
> > don't know if in addition to that class would work for the
> > use of css?
> >

>
> Sure it would. "Class" property has nothing to do with the id or name of
> the tag
>
> Mitja
>
> >
> > --
> > Els
> >
> > Sonhos vem. Sonhos vão. O resto é imperfeito.
> > - Renato Russo -
> >

>
>
>


and my reply is:
The only problem was the iframe is not valid in strict xhtml. I changed
it to transitional. I don't know of a replacement for iframe in strict
xhtml.

BTW: Id replaces Name in xhtml.

--
Dennis M. Marks
http://www.dcs-chico.com/~denmarks/
Replace domain.invalid with dcsi.net


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
 
Reply With Quote
 
Kris
Guest
Posts: n/a
 
      02-24-2004
In article <240220040659394583%>,
"Dennis M. Marks" <> wrote:

> I don't know of a replacement for iframe in strict
> xhtml.


Use CSS to make it look like a frame. The feature of embedding one
document into the other, client side, as was done by frames is lost.
Instead, you can opt to include things through server side scripting.

--
Kris
<> (nl)
<http://www.cinnamon.nl/>
 
Reply With Quote
 
Els
Guest
Posts: n/a
 
      02-24-2004


Dennis M. Marks wrote:

>>>iframes have names, iirc
>>>name="commentframe"

>
> BTW: Id replaces Name in xhtml.


Didn't know that, thanks for the correction.


--
Els

Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -

 
Reply With Quote
 
Toby A Inkster
Guest
Posts: n/a
 
      02-24-2004
Dennis M. Marks wrote:

> I don't know of a replacement for iframe in strict xhtml.


Anything wrong with <object/>?

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132

 
Reply With Quote
 
Jukka K. Korpela
Guest
Posts: n/a
 
      02-24-2004
Toby A Inkster <> wrote:

> Dennis M. Marks wrote:
>
>> I don't know of a replacement for iframe in strict xhtml.

>
> Anything wrong with <object/>?


Is that a trick question?

Virtually everything is wrong with <object>, but most importantly,
implementations range from poor to horrendous. You cannot even safely
embed an image or a plain text file using <object>.

But if http://www.dcs-chico.com/~denmarks/ is the page in question, as
I suspect, I really wonder why XHTML 1.0 Strict compliance vs.
XHTML 1.0 Transitional compliance would matter, when the page says
"This site requires javascript and will not work without it. Sorry."
Why would formal compliance to this or that specification matter after
that?

For including an HTML document into another, several methods exist.
Using <iframe> with a link as the fallback content is safe. But most
servers support some kind of server-side inclusion. There used to be
a FAQ that discusses such issues...

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html


 
Reply With Quote
 
Dennis M. Marks
Guest
Posts: n/a
 
      02-24-2004
I have read the following message from Toby A Inkster
<>
and have decided to lend my vast knowledge.

The writer said:
> Dennis M. Marks wrote:
>
> > I don't know of a replacement for iframe in strict xhtml.

>
> Anything wrong with <object/>?
>
> --
> Toby A Inkster BSc (Hons) ARCS
> Contact Me - http://www.goddamn.co.uk/tobyink/?page=132
>
>


and my reply is:
Do you know how I could use it. My experiments did not succeed.

BTW. On your web page the left column overlaps the main page by 1/4
inch on Netscape 7.02 on a Mac.

--
Dennis M. Marks
http://www.dcs-chico.com/~denmarks/
Replace domain.invalid with dcsi.net


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
 
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
Sending htp response 404 not found for a page when anonymous usersgo to it and showing the valid page when a logged in user sees it. Andy B. ASP .Net 0 12-23-2008 03:22 PM
why why why why why Mr. SweatyFinger ASP .Net 4 12-21-2006 01:15 PM
findcontrol("PlaceHolderPrice") why why why why why why why why why why why Mr. SweatyFinger ASP .Net 2 12-02-2006 03:46 PM
Error: specified cast is not valid. Why not? Alan Silver ASP .Net 5 02-15-2005 08:08 PM
When I open Internet Explorer, along with my home page a pop page pops up, I have changed home page but that doesnt work Phil Computer Support 7 03-04-2004 12:22 AM



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