Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6323049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T16:26:45+00:00 2026-05-24T16:26:45+00:00

According to schema.org , this is how you are supposed to mark up your

  • 0

According to schema.org, this is how you are supposed to mark up your html to make use of “rich snippet” metadata that is to be gobbled up by search engines:

<div itemscope itemtype="http://schema.org/Event">

But itemscope on itself is invalid. It’s a boolean value, not an attribute like itemscope="true"

I’m using PHPTAL and it refuses to process my page once it runs into this attribute. Other validators choke as well.

So is schema.org’s specification just plain wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T16:26:46+00:00Added an answer on May 24, 2026 at 4:26 pm

    It is a boolean attribute, which is perfectly acceptable in HTML5.

    I expect that your parsers are just old. The W3C validation service has no issues with schema.org’s formats.


    Added linky: http://www.w3.org/TR/html5/common-microsyntaxes.html#boolean-attribute


    Just to update this for posterity, the answer is to fully qualify boolean properties. This means using a syntax like itemscope="itemscope"

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an XML Schema that looks like this: <xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema> <xs:element name=root> <xs:complexType>
I have the following code for rich snippet on comments: <ul itemscope itemtype=http://schema.org/UserComments> <li
I am generating a dynamic sitemap.xml According to sitemaps.org this is the header for
I'm using schema.org’s Review and I would like to know if I should use
I want to validate usernames according to this schema: Allowable characters: letters, numbers, hyphen,
According to this SO post: How to check the TEMPLATE_DEBUG flag in a django
According MSDN, FxCop is an application that analyzes managed code assemblies (code that targets
According to this post , IDEA uses Osmorc to run OSGi frameworks. It, in
According this article , generic JPA DAO(Data Access Object) is a pretty nice pattern.
According to Hibernate documentation : After observing that arrays cannot be lazy , you

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.