1

I adding some Microdata in a page of a site. This site is standard html ,not html 5. I can add something like this without change heading of my pages?

 <div itemscope itemtype="http://data-vocabulary.org/Person">
  <h1 itemprop="name">Mark Pilgrim</h1>
  </div>
0

1 Answer 1

0

Microdata, which includes the itemscope and itemtype attributes is part of the HTML5 work so there's no standard doctype available for using microdata with earlier doctypes.

I think you have to change heading of your pages to HTML5. This is probably the best way forward.

But I also think that the consumers of the microdata are unlikely to care what doctype you are using.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.