Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Web Design & Development > HTML/XHTML

  • Print
  • + Share This
  • 💬 Discuss
This chapter is from the book

Indicating a Citation or Reference

Use the cite element for a citation or reference to a source. Examples include the title of a play, script, or book; the name of a song, movie, photo, or sculpture; a concert or musical tour; a specification; a news-paper or legal paper; and more (red-a.jpg and red-b.jpg).

red-a.jpg In this example, the cite element marks up the titles of an album, a movie, a book, and a work of art. (Note: The lang="it" in the last instance declares that the language of the cite text is Italian.)

094figb.jpg

Click to view larger image

red-b.jpg The cite element renders in italics by default.

To cite a reference

  1. Type <cite>.
  2. Type the reference’s name.
  3. Type </cite>.
  • + Share This
  • 🔖 Save To Your Account

Discussions

comments powered by Disqus