|
|
Subject: Re: Not working code validates - msg#00131
List: org.w3c.validator
On Wed, 15 May 2002, Romek wrote:
> Hi,
>
> one little problem - validator validates these pieces of code as valid,
> while they do not work:
>
> 1) <div align="CENTER"<a
> href="http://www.hotelwenus.pl">www.hotelwenus.pl</a></div>
>
> Mind the missing > after CENTER"
This is the "shorttags" FAQ. See the posts to this list from earlier
today for the last reference to it on this list.
--
Nick Kew
Available for contract work - Programming, Unix, Networking, Markup, etc.
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: validating TDC in XHTML
scripsit Jan Lettens:
>
> Apparently, the XHTM validator doesn't accept TDC (tabular data
> control) attributes used for TABLE tags such as TD.
They are not part of any XHTML DTD, so the validator is correct in
calling them invalid. Check the XHTML DTDs and the definition of
`valid' in the XML recommendation.
> Should I give up on XHTML or did I do something wrong ?
[...]
> PS: I have really tried all kind of groups, but TDC is very little
> known, although an excellent DHTML object from MSFT.
Whether they are `excellent' or not is not relevant to the fact that
they are not (X)HTML -- and will not work with any standards-compliant
browser, only with Microsoft's proprietary software.
What you `should' do is a personal choice, but I would urge you to give
up on proprietary markup, not on validity and standards compliance.
--
Thanasis Kinias
Web Developer, Information Technology
Graduate Student, Department of History
Arizona State University
Tempe, Arizona, U.S.A.
Ash nazg durbatulûk, ash nazg gimbatul,
Ash nazg thrakatulûk agh burzum-ishi krimpatul
Next Message by Date:
click to view message preview
Re: Strict Not so strict.
scripsit Karl Dubost:
> At 18:42 +0100 2002-05-23, Nick Kew wrote:
> >They are errors if applied to an element where they are not allowed.
> >
> >If you want stricter validation, strip the DTD down a bit, or use
> >another DTD.
>
> You can use XHTML 1.1 [1] which is a little bit stricter.
> But you will still have presentational (table [2]) things... XHTML
> 2.0 is not far away
Be aware, though, that if you need to support legacy browsers XHTML 1.1
will pose problems, because it has eliminated the `name' attribute on
<a> elements. NS4 cannot hit `id' targets, so links to such anchors
will break.
--
Thanasis Kinias
Web Developer, Information Technology
Graduate Student, Department of History
Arizona State University
Tempe, Arizona, U.S.A.
Ash nazg durbatulûk, ash nazg gimbatul,
Ash nazg thrakatulûk agh burzum-ishi krimpatul
Previous Message by Thread:
click to view message preview
Not working code validates
Hi,
one little problem - validator validates these pieces of code as valid,
while they do not work:
1) <div align="CENTER"<a
href="http://www.hotelwenus.pl">www.hotelwenus.pl</a></div>
Mind the missing > after CENTER"
2) similar example of missing closing > for href="mapa980.jpg"
<a href="mapa980.jpg"<img src="mapa295.jpg" width=295 height=350
alt="some text " title="some text"></a>
--
Romek
Posted with Opera NewsReader v 3.61 - Xmas release
Run under Windows 3.11 PL win32s 1.30.172
ASUS mboard, 486Dx4 AMD, 133 MHz, 24 MB RAM
Next Message by Thread:
click to view message preview
validating TDC in XHTML
Dear
Sirs,
Apparently, the
XHTM validator doesn't accept TDC (tabular data control) attributes
used for
TABLE tags such as TD.
Should I give up
on XHTML or did I do something wrong ?
My URL is the
following:
http://users.pandora.be/tree/wrecksite/html/search/by_name.html
Many thanks for
helping me out.
Jan
Lettens
PS: I have really
tried all kind of groups, but TDC is very little known, although an
excellent
DHTML object from
MSFT.
|
|