[uf-discuss] Is <body profile="..."> no longer valid?

Robert Bachmann rbach at rbach.priv.at
Sun Dec 10 05:43:00 PST 2006


Siegfried Gipp wrote:
> Am Sonntag, 10. Dezember 2006 14:12 schrieb Costello, Roger L.:
>> Hi Folks,
>>
>> Last week I validated (using the W3C validator) an HTML file that
>> specifies the hCard profile:
>>
>> <body profile="http://www.w3.org/2006/03/hcard">
>>
>> Today when I validated the same file the validator says it's not valid:
>>
>>        there is no attribute "profile".
>>
>> What happened? Is there no longer a profile attribute on the body
>> element?
> 
> As far as i know the "profile" was never an attribute of <body>, but of <html>

The profile attribute belongs to <head> [1]

[1] http://www.w3.org/TR/html401/struct/global.html#adef-profile
-- 
Robert Bachmann <rbach at rbach.priv.at> (OpenPGP KeyID: 0x4A5CCF10)


More information about the microformats-discuss mailing list