Web Development Course:
HTML cite: Main Tips
- The HTML
<cite>adds a title of the referenced work or quote.
- There is a debate of whether the
<cite>tags HTML should include only the title, or whether other information (for instance, author) is acceptable as well.
<cite> specifies the name of the referenced work.
<p><cite>The Title</cite> The main content text.</p>
Even though the restrictions for the content inside
<cite> tag HTML are loose, you should not use this element to only indicate the author. If necessary, mention both the title and the author.
This example shows the less restrictive use of
<cite> HTML element:
<p>You don’t have to live forever, you just have to live.</p> - <cite>Tuck Everlasting by Natalie Babbitt</cite>