← #133 Open all links in new tabs
#134

Use the datetime attribute when displaying dates, times

Topics: HTML

You probably know that the semantic <time> tag can be used to display a date or time. It's recommended to use it with the datetime attribute which brings some benefits:

  • Search engines produce better results
  • It can be used by some devices allowing you to add a reminder or calendar event easily
<div>
The meeting will start at <time>09:00</time>
</div>

<!-- Better -->
<div>
The meeting will start at <time datetime="09:00">09:00</time>
</div>
Fix a typo or suggest an improvement
#135 Use multiple SSH keys for different GitHub accounts