HighDots Forums  

Making HTML 4.1 Also Comply with XHTML 1.1

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss Making HTML 4.1 Also Comply with XHTML 1.1 in the HTML forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Tina Holmboe
 
Posts: n/a

Default Re: Making HTML 4.1 Also Comply with XHTML 1.1 - 09-03-2003 , 12:16 AM






Stan Brown <the_stan_brown (AT) fastmail (DOT) fm> exclaimed in <MPG.19bf10f32426946698b2cf (AT) news (DOT) odyssey.net>:

Quote:
understand that </link> is no valid HTML. But I thought the whole
point of Appendix C was to write markup that was valid HTML and
valid XHTML. The very first sentence of Appendix C is "This appendix
summarizes design guidelines for authors who wish their XHTML
documents to render on existing HTML user agents." True, that
doesn't say that the XHTML is valid HTML, but I thought that was
implied.
The keyword is "render". The implication is rather "Let's write XHTML
in such a way that tag-soup eating browsers will simply view this as
another addition to the menu and render away".

Usual caveats apply.

--
- Tina Holmboe Greytower Technologies
tina (AT) greytower (DOT) net http://www.greytower.net/
[+46] 0708 557 905


Reply With Quote
  #12  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: Making HTML 4.1 Also Comply with XHTML 1.1 - 09-03-2003 , 02:06 AM






Stan Brown <the_stan_brown (AT) fastmail (DOT) fm> wrote:

Quote:
But I thought the whole
point of Appendix C was to write markup that was valid HTML and
valid XHTML.
It might give that impression, perhaps intentionally.

Quote:
The very first sentence of Appendix C is "This appendix
summarizes design guidelines for authors who wish their XHTML
documents to render on existing HTML user agents." True, that
doesn't say that the XHTML is valid HTML, but I thought that was
implied.
And maybe we were supposed to think that way. I know this is somewhat
negative thinking. But the XHTML specification really seems to avoid the
issue that XHTML and HTML are not compatible _at the level of
specifications_, even if (almost all) browsers can be fooled to eat XHTML
when they actually digest HTML.

Quote:
Are you saying that
link rel="stylesheet" href="pagestyle" type="text/css" /
is _not_ valid HTML?
In a document with an HTML doctype, it makes the document invalid
except in a special case. The reason is that the construct is, by HTML
rules, equivalent to
<link rel="stylesheet" href="pagestyle" type="text/css">>
and data characters are not allowed inside a <head> element, so the data
character ">" would imply </head> and <body>. So if the rest is the
document body without a <body> tag, the document is valid (though its
content is probably not what the author meant, and this in turn is negated
by the fact that browsers don't actually play by HTML rules here).

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



Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.