Re: No Attribute Foo for this Element
by Bjoern Hoehrmann <derhoermi(at)gmx.net>
|
Date: |
Sat, 09 Feb 2002 01:50:13 +0100 |
To: |
webmaster(at)spectrenet.org |
Cc: |
hwg-xml(at)hwg.org |
References: |
everyone |
|
todo: View
Thread,
Original
|
|
* WebMaster- SpectreNet wrote:
>Hello, I'm new to this list and new to XHTML. While trying
>to validate an XHTML Transitional document I receive the
>error No Attribute Foo for this element (in this HTML)
>version. What attribute can I assign to say, leftmargin
>and what is the syntax for doing so?
You cannot add attributes to attributes, neither can you use attributes
not included in the XHTML 1.0 Specification. If your document contains
unknown attributes, it's invalid, you have to change to document (remove
the invalid attribute), you cannot change XHTML 1.0.
HWG hwg-xml mailing list archives,
maintained by Webmasters