How to show datePublished
and dateModified
Microdata?
(I want to prioritize dateModified
, this is why I do not show datePublished
to the public)
Option 1. If I understand this is not correct. Div cannot have content, right?
<div itemprop="datePublished" content="2016-01-07"></div>
<div itemprop="dateModified" content="2016-08-17">Last Updated: 2016-01-07</div>
Option 2
<meta itemprop="datePublished" content="2016-01-07">
<meta itemprop="dateModified" content="2016-08-17"><div>Last updated: 2016-01-07</div>
Option 3
<time itemprop="datePublished" datetime="2016-01-07"></time>
<time itemprop="dateModified" datetime="2016-08-17">Last updated: 2016-01-07</time>
Question 1: Should I use meta
, time
, or both are correct?
Question 2: Should I separate "Last update" and put it in another div
before meta
or time
?
<div>Last updated:</div>
<meta itemprop="dateModified" content="2016-08-17">
<div>2016-01-07</div>
<div>Last Updated: </div>
<time itemprop="dateModified" datetime="2016-08-17">2016-01-07</time>