🚀 LEVEL UP TO SENIOR:Unlock 500+ Advanced Practical Challenges & Expert Masterclasses.
🎓 COURSERA PARTNER:Earn professional Google, Meta, and IBM certificates to supercharge your resume.
REFERENCEhtml

html Documentation

LOADING ENGINE...

HTML <cite> Tag

Give credit where credit is due. Learn to semantically tag references to creative works.

cite.html
<!-- Reference -->
<p>
Source: <cite>MDN Web Docs</cite>
</p>
cite.html
1 / 9
📖

Tutor:The <cite> tag is a specific semantic element in HTML used to define the title of a creative work. This could be a book, a movie, a song, a painting, or even a research paper.


Tag Mastery

Unlock nodes by learning new concepts about citations.

Concept 1: Syntax

The <cite> tag is a paired tag. It must contain text, specifically the title of a work.

System Check

Which element is used to mark up the title of a work?


Community Reference Library

Share Your Sources

Found a unique way to style citations or a complex bibliography structure? Share your snippet.

Enjoying this guide?

Codesyllabus is 100% free and open-source. Support our mission, pay for server infrastructure, and fuel new tutorials by buying us a coffee!

HTML Cite Tag and References

Author

Pascual Vila

Frontend Instructor.

The HTML <cite> element is used to describe a reference to a creative work. It must include the title of that work.

What qualifies as a work?

A work can be a book, a paper, an essay, a poem, a score, a song, a script, a film, a TV show, a game, a sculpture, a painting, a theater production, a play, an opera, a musical, an exhibition, a legal case report, etc.

Common Mistakes

A person's name is not the title of a work. Consequently, the <cite> element must not be used to mark up the author of a work, unless the author's name is actually part of the title (e.g., "The autobiography of X").

Visual Presentation

Browsers typically render the content of a <cite> element in italics. However, you can change this style using CSS if needed. The important part is the semantic meaning conveyed to assistive technologies.

Citation Glossary

<cite>
Defines the title of a creative work (e.g., a book, a song, a movie).
<blockquote>
Defines a section that is quoted from another source. Often used in conjunction with <cite>.
Creative Work
The entity being referenced, such as "Harry Potter" (the book), not "J.K. Rowling" (the author).