W3C home > Mailing lists > Public > public-vocabs@w3.org > May 2012

using <html> tag

From: Özer Kavak <ozerkavak@gmail.com>
Date: Tue, 29 May 2012 16:12:36 +0300
Message-ID: <CANJoW02W17-_pizfsdq2CyYYxT9=PchFbvMs=udL9g19R-ZtpA@mail.gmail.com>
To: public-vocabs@w3.org
Hi all,

On http://schema.org/WebPage Example 1:
<body> element contains microdata mark up:

<body itemscope itemtype="http://schema.org/WebPage">
...
</body>


Is using <html> element appropriate for the same purpose? I tested on
validators, all OK. But i couldn't be sure.
I want to use current head section elements and their content for
http://schema.org/Webpage properties such as:

<!DOCTYPE HTML>
<html itemscope="itemscope" itemtype="http://schema.org/WebPage" lang="en">
<head>
<meta itemprop="description" name="description" content="Description
of the page" />
<title itemprop="name">Title of the page</title>
...
</head>
<body itemscope="itemscope"
itemtype="http://schema.org/CollectionPage" itemprop="about">
...
</body>
</html>

Best,
Ozer
Received on Tuesday, 29 May 2012 13:13:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 29 May 2012 13:13:14 GMT