HTML has many small elements that add meaning to ordinary text. They make little difference visually, but they help search engines, browsers and assistive technology understand your content.
time#
<time> marks a date, time or duration in a form machines can read, through the datetime attribute.
<p>Open mic night starts on <time datetime="2025-07-18T18:30">Friday at 6:30pm</time>.</p>
<p>Roasting takes <time datetime="PT15M">fifteen minutes</time>.</p>The visible text can be friendly while the attribute holds a standard format, such as 2025-07-18 for a date. Calendar tools and search engines can use it.
blockquote, q and cite#
Use <blockquote> for a longer quotation that stands alone, and <q> for a short quote inside a sentence. The cite attribute holds the source URL, and the <cite> element names the title of a creative work.
<blockquote cite="https://example.com/reviews/brew-and-byte">
<p>The best flat white in town, and the Wi-Fi never drops.</p>
</blockquote>
<p>
<cite>Pokhara Daily Review</cite>, March 2025
</p>
<p>Our motto is <q>good coffee, slow mornings</q>.</p>Browsers add quotation marks around <q> automatically, so do not type your own. Do not use <blockquote> just to indent text.
abbr#
<abbr> marks an abbreviation, and its title explains the full form on hover.
<p>All prices include <abbr title="Value Added Tax">VAT</abbr>.</p>Tooltips do not appear on touch screens or for keyboard users, so the first time an abbreviation appears, also write it out in full in the text.
address#
<address> provides contact information for the page or article author or owner. It is not for any postal address you happen to mention.
<footer>
<address>
Brew and Byte<br>
12 Lakeside Road, Pokhara<br>
<a href="mailto:hello@brewandbyte.example">hello@brewandbyte.example</a>
</address>
</footer>Other tiny helpers#
| Element | Use |
|---|---|
<dfn> | The defining occurrence of a term |
<wbr> | A place where a long word may break |
<s> | Content no longer accurate, shown struck through |
<bdo> | Overrides text direction |
<ruby> | Pronunciation annotations in East Asian text |
<p>A <dfn>flat white</dfn> is an espresso drink with thin, velvety milk.</p>Common mistakes#
- Typing quotation marks inside
<q>. - Using
<blockquote>for visual indentation. - Wrapping every address in
<address>. - Using
abbrand relying on the tooltip alone. - Writing an incorrect
datetimeformat.
Try it yourself#
Write a short "Events" paragraph announcing a workshop with a date in <time>, a quote from an attendee in blockquote with a cite, an abbreviation such as "FAQ" explained with abbr, and a footer using <address>. Verify in Developer Tools that each element appears as intended.
Recap#
time gives machines a precise date, blockquote, q and cite mark quotations and sources, abbr explains abbreviations, and address holds contact details of the page owner. Use them to add meaning without changing the look.
Check your understanding
Lesson quiz
OptionalA short quiz to check what you just learned.
- Questions
- 4
- Time limit
- 5 min
- Pass mark
- 70%
- Best score
- -