Picto thématique

Rule n° 224 - The date of publication or update of the contents is made available in a programmatic form.

We advise you to indicate a publication date in your pages. But since you are not only talking to humans, but also to the machines they use, we also advise you to indicate a publication date in the code of your pages. This can have advantages in terms of referencing, it is also a way of helping machines to classify content.

#Development #SEO #Structure and code

Goal

  • Provide date of publication to search engines and indexing tools.
  • Improving the integration of content by search engines and indexing tools.
  • Improve the way content is taken into account by search engines and indexing tools.

Implementation

Use the HTML element element to tag the publication and update dates of content displayed on the site, and its datetime attribute to indicate these in the standard format required by the HTML5 specification,

Find out more: time on MDN

Control

Check that each date of publication or content update shown on the site is tagged with the time HTML element, with a datetime attribute indicating the date in the standard format required by the HTML5 specification.

By Opquast - Read the license


Discover Opquast training and certification

The objective of these rules and the Opquast community mission is ‘making the web better’ for your customers and for everyone! Opquast rules cover the key major areas of risk that can negatively affect website users such as privacy, ecodesign, accessibility and security.

Opquast training has already allowed over 19,000 web professionals to have their skills certified. Train your teams, contact us

We offer a 1 hour free discovery module.