Live Preview
A book title marked with <cite> (browser default italic):
My favorite novel is 1984 by George Orwell.

By the end of this tutorial, you’ll mark creative work titles and build proper citation markup with semantic HTML.
Wrap book, film, and song titles in <cite>.
Signal creative work references to browsers and assistive tech.
Distinguish visible <cite> from the cite URL attribute.
Add attribution with footer + cite inside quotes.
Build works-cited lists with cited titles.
Override default italic styling when your design requires it.
<cite> Tag?The cite element (<cite>) represents the title of a creative work or a reference to its creator. Browsers typically render it in italics by default.
<cite> is for work titles and attribution—not for wrapping the quoted words themselves. Put quote text in blockquote or q.
Common uses include book and film titles in sentences, bibliography lists, and visible attribution inside <blockquote> footers.
Wrap the title of the creative work between opening and closing <cite> tags:
<p>I enjoyed reading <cite>Pride and Prejudice</cite>.</p><cite> is an inline element—it nests inside paragraphs and list items.cite.<cite />) is not valid in HTML.| Use Case | Code Snippet | Result |
|---|---|---|
| Book title | <cite>1984</cite> | Italic work title |
| In a sentence | I read <cite>Dune</cite> | Semantic inline reference |
| Quote attribution | <footer>— <cite>Author</cite> | Visible source in blockquote |
| Source URL | <blockquote cite="url"> | Hidden attribute, not element |
| Bibliography | <li><cite>Title</cite> by Author | Works-cited list item |
| Tag-specific attrs | None | Global attributes only |
<cite> Element vs cite AttributeThese share a name but serve different purposes in HTML:
| Feature | <cite> element | cite attribute |
|---|---|---|
| Visibility | Shown on the page | Hidden metadata (URL) |
| Content | Work title or author name | Source URL on blockquote or q |
| Quote text | Not for quoted passage | Does not hold quote text |
| Best practice | Visible footer attribution | URL in attribute + visible cite element |
The <cite> tag has no tag-specific attributes. Global attributes apply:
class GlobalCSS hook for custom typography beyond default italic styling.
class="work-title"id GlobalUnique identifier for linking or scripting the cite element.
id="book-ref-1"lang GlobalDeclare the language of a foreign-language work title.
lang="fr"title GlobalExtra tooltip text for abbreviated or translated titles.
title="Full publication name"Element type InlinePhrasing content that flows inside paragraphs and lists.
<cite>Title</cite>Default style BrowserUser-agent stylesheet applies italic font-style by default.
font-style: italic;Style presentation with CSS classes rather than presentational HTML like <i> alone.
Creative work titles, blockquote attribution, and bibliography patterns with copy-ready code and live previews.
A book title marked with <cite> (browser default italic):
My favorite novel is 1984 by George Orwell.
Mark a book title inside a sentence. This is the most common beginner use of <cite>.
<p>
I recently finished reading
<cite>To Kill a Mockingbird</cite>
by Harper Lee.
</p>Use <cite> when naming books, films, songs, plays, paintings, research papers, or when showing attribution inside a <blockquote> footer.
Put the quoted text in <blockquote>. Add a <footer> with <cite> for visible attribution. The cite attribute can hold the source URL.
<blockquote cite="https://en.wikiquote.org/wiki/Albert_Einstein">
<p>Imagination is more important than knowledge.</p>
<footer>— <cite>Albert Einstein</cite></footer>
</blockquote>Build a works-cited list where each creative work title is wrapped in <cite>.
<h2>References</h2>
<ul>
<li><cite>The Great Gatsby</cite> by F. Scott Fitzgerald</li>
<li><cite>Inception</cite> directed by Christopher Nolan</li>
<li><cite>Bohemian Rhapsody</cite> by Queen</li>
</ul>Override or extend the default italic look using a CSS class on <cite>.
<style>
.work-title {
font-style: italic;
color: #7c2d12;
font-weight: 600;
}
</style>
<p>My favorite film is <cite class="work-title">Spirited Away</cite>.</p>Browsers italicize cite by default. Customize typography with CSS classes:
font-style Default italiccolor Brand accentfont-weight Emphasize titlesfont-style: normal Override italic/* Custom work title styling */
cite {
font-style: italic;
}
.work-title {
font-style: italic;
color: #7c2d12;
font-weight: 600;
}
blockquote footer cite {
font-style: normal;
font-weight: 600;
}Live styled work title
Recommended reading: The Hobbit by J.R.R. Tolkien.
Semantic citations help all readers understand your content:
blockquote or q.Wrap the book, film, or song name in cite.
User-agent styles visually distinguish the referenced work.
The element type signals a citation or creative work reference.
Readers understand which creative works you are naming or citing.
The <cite> element is supported in all browsers, including Internet Explorer.
From legacy Internet Explorer to the latest mobile browsers — the cite element is one of the most universally supported semantic text elements.
Bottom line: Ship semantic citations with confidence. The <cite> element is safe to use in every production environment today.
The <cite> tag gives your HTML clear meaning: it names creative works and supports proper attribution. Use it for book, film, and song titles—not for quoted speech—and pair it with <blockquote> when showing longer quotations with visible sources.
Remember the difference between the cite element and the cite attribute, and style titles with CSS for a consistent design system.
cite for creative work titlesfooter + cite inside blockquotecite around titles<cite>cite element with cite attributecite only for visual italics<cite>Bookmark these before you ship — they’ll keep your citations semantic and accessible.
<cite> marks books, films, songs, and other creative works.
A semantic element supported in every modern browser.
EssentialQuoted speech belongs in blockquote or q, not cite.
The cite element is visible; the cite attribute holds a source URL.
DistinctionBrowsers italicize cite by default; override with CSS as needed.
StylingUse footer + cite inside blockquote for visible attribution.
Patterncite element is visible markup for a title or author. The cite attribute on blockquote or q holds a source URL and is not shown on the page.blockquote or q. Use cite for the work title or attribution in a footer.blockquote for the quote, optional cite attribute for the URL, and a footer with cite for visible attribution.Mark creative work titles and build proper blockquote attribution in the Try It editor.
6 people found this page helpful