A handful of inline elements exist to make text understandable to software as well as to people. They are easy to skip, and the time element in particular does something genuinely useful that has no alternative.
Abbreviations
The abbreviation element marks a shortened form and can carry its expansion in a title attribute.
<p>The <abbr title="World Wide Web Consortium">W3C</abbr> publishes the specification.</p> Browsers usually show a dotted underline and reveal the expansion on hover. The limitation is the familiar one: a title attribute never appears on touch devices, cannot be reached by keyboard, and is announced inconsistently by screen readers.
The practical approach is to write the full term the first time it appears, with the abbreviation in brackets after it, and use the element for subsequent mentions. That way the expansion is available to everyone rather than only to people who hover with a mouse.
Do not mark up abbreviations everyone knows. Wrapping familiar terms in the element adds noise for no benefit, and some screen reader configurations will read the expansion every time, which becomes tedious quickly.
The time element
Dates written for humans are ambiguous to software. A date written as a numeric sequence means two different things depending on which side of the Atlantic the reader is on, and a phrase such as last Tuesday means nothing at all without context.
The time element solves this by pairing readable text with a machine readable value.
<p>Published on <time datetime="2026-07-14">14 July 2026</time>.</p> The visible text can be anything, including a relative phrase. The datetime attribute holds the unambiguous value in a standard format, which is year, month and day separated by hyphens.
What the datetime attribute accepts
The format extends well beyond dates. A time of day can be added after the date, separated by a capital T. A timezone offset can follow that. A value can also be a year alone, a month, a week number, or a duration expressed with a leading P.
<time datetime="2026-07-14T19:30">7.30pm on the 14th</time> <time datetime="PT45M">45 minutes</time> That last form is how a recipe expresses cooking time or an article expresses reading time in a way software can compare.
Why it matters for search
Search engines use publication dates when deciding how current an article is, and an ambiguous date is a date they may parse incorrectly or ignore. Providing an explicit machine readable value removes the guesswork.
It also feeds structured data. An article marked up with schema information will reference the publication date, and having it available in an unambiguous form makes that markup reliable. Event listings depend on it even more heavily, since a search engine displaying an event needs the start time to be exact.
Superscript and subscript
Two elements raise and lower text relative to the baseline. They are meaningful rather than presentational, which is the distinction that decides when to use them.
<p>Water is H<sub>2</sub>O.</p> <p>The area is 40m<sup>2</sup>.</p> Legitimate uses are chemical formulae, mathematical exponents, footnote markers and ordinal suffixes in languages where they are conventionally raised. Using either purely because raised text looks appealing is the wrong reason, and the vertical align property in CSS handles that case.
Footnotes
A common pattern combines superscript with a fragment link, so a raised number in the text jumps to the note at the bottom of the page.
Two details make this work properly. Give the note an id and link to it, then give the note a link back to the reference so the reader can return. Adding a descriptive label to the link is worth doing, because a link whose entire text is a single digit tells a screen reader user nothing about where it goes.
Relative dates
Phrases such as three days ago are friendly to read and become wrong the moment a page is cached, printed or read later. The time element handles this neatly, because the readable text can be relative while the attribute holds the absolute value.
Where a script updates the visible phrase over time, it should update the attribute only when the underlying date genuinely changes, since the attribute is the record of when something happened rather than a description of how long ago that was.
Small text
The small element deserves a mention here because it is frequently misunderstood as a font size control. It marks side comments and small print, such as legal disclaimers, copyright lines and terms attached to an offer. The reduced size is a default style reflecting that meaning rather than the purpose of the element, and CSS remains the right tool whenever you simply want text to be smaller.