Course contentsShow
← Web Development
Lesson 1009 of 2,98218. Accessibility FundamentalsFree lesson

Blockquote and Cite for Quotations

Learn how proper quote markup preserves attribution and context for all users.

Blockquote and Cite for Quotations

You'll learn how using proper quote markup ensures everyone—including assistive technology users—understands when content is quoted and where it came from.

Why Quote Markup Matters

When you include a quotation on your web page, it's not enough to just italicize the text or indent it with CSS. Semantic HTML elements tell screen readers and other assistive technologies that this is quoted content, not your own words. This preserves both the meaning and attribution for all users.

Think of it like citing sources in a research paper—proper markup is the digital equivalent of quotation marks and footnotes.

The <blockquote> Element

Use <blockquote> for longer, block-level quotations (typically displayed as an indented paragraph):

<blockquote>
  <p>The web is more a social creation than a technical one. I designed it for a social effect — to help people work together.</p>
</blockquote>

Screen readers announce blockquoted content differently, signaling to users that they're hearing someone else's words.

Adding Attribution with cite Attribute

The cite attribute provides a URL reference to the source:

<blockquote cite="https://example.com/interview">
  <p>Accessibility is not a feature, it's a necessity.</p>
</blockquote>

The <cite> Element for Titles

Use the <cite> element to mark up the title of the work being quoted:

<blockquote>
  <p>To be or not to be, that is the question.</p>
  <cite>Hamlet, William Shakespeare</cite>
</blockquote>

This semantic markup helps assistive technology users distinguish between the quote itself and its source.

Key Takeaway: Using <blockquote> and <cite> preserves quotation context and attribution for all users, making your content more accessible and semantically meaningful than visual styling alone.