A post uses the following microformats, which can be used to analyse a post.
- Each post is an
<article>
element1, and it conforms to theh-entry
microformat2. - The metadata for the post is contained within an
<aside>
element3. - The topic-title is marked with the
p-name
class, and given aheading
role4. Note that the heading may be hidden by the CSS for the page.- The
<article>
and heading are linked by thearia-labelledby
attribute on the<article>
5. - The
u-url
(also on the heading) marks the URL of the permalink for the post.
- The
- The author metadata is given in an
<address>
element 6, with theh-card
andp-author
classes; the name marked with thep-name
class7. - The post-date in in a
<time>
element, with thedatetime
attribute8 set to the date the post was made in UTC. The<time>
element is also given the classdt-published
.
For more on the
<article>
element see <https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article>↩See the Microformats wiki for more on
h-entry
<http://microformats.org/wiki/h-entry>↩For more on the
<aside>
element see <https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside>↩For more on the
heading
role see <http://www.w3.org/TR/wai-aria/roles#heading>↩For more on the WAI-ARIA
aria-labelledby
attribute see <https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-labelledby_attribute>↩For more on the
<address>
element see <https://developer.mozilla.org/en-US/docs/Web/HTML/Element/address>↩See the Microformats wiki for more on
h-card
<http://microformats.org/wiki/h-card>↩For more on the HTML5 Time element see <https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time>↩