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

0 views
Skip to first unread message

Costello, Roger L.

unread,
Dec 10, 2006, 8:12:52 AM12/10/06
to Microformats Discuss
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?

/Roger

_______________________________________________
microformats-discuss mailing list
microforma...@microformats.org
http://microformats.org/mailman/listinfo/microformats-discuss

Siegfried Gipp

unread,
Dec 10, 2006, 8:32:01 AM12/10/06
to Microformats Discuss
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>

Robert Bachmann

unread,
Dec 10, 2006, 8:43:00 AM12/10/06
to Microformats Discuss
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 <rb...@rbach.priv.at> (OpenPGP KeyID: 0x4A5CCF10)

Reply all
Reply to author
Forward
0 new messages