Is <br /> not in XHTML 1.0 Strict?
by Max Moritz Sievers <max.moritz.sievers(at)gmx.de>
|
| Date: |
Sun, 6 May 2001 21:41:43 +0200 |
| To: |
hwg-techniques(at)hwg.org |
| |
todo: View
Thread,
Original
|
|
If I validate my page with Documenttype XHTML 1.0 Strict at
the W3C validator I get the following error:
"Error: element "br" not allowed here; possible cause is an
inline element containing a block-level element
explanation:
http://validator.w3.org/docs/errors.html#not-allowed"
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.enddeluxe.de%2Fopticom_de.html&doctype=Inline
But the br tag is in the DTD:
http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-strict.dtd
If I use XHTML 1.0 Transitional there is error reported:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.enddeluxe.de%2Fopticom2_de.html&doctype=Inline
I don't understand this. If the br tag is not part of XHTML
1.0 Strict with what should I replace it?
Regards,
Max Moritz Sievers
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.