The <cite>
tag describes a reference to a creative work.
This includes the title of the work, and a link to the source of the work.
This <cite>
element marks Harry Potter as a book citation.
The book Harry Potter was written by J. K. Rowling.
<p>
The book
<cite><a href="https://en.wikipedia.org/wiki/Harry_Potter">Harry Potter</a></cite>
was written by J. K. Rowling.
</p>
cite
= citation
The <cite>
element defines a citation source for creative content.
This element can be used to cite any of the following:
The <cite>
content is displayed in italic by default.
Note: The <cite>
element is in-line and can be placed inside a line of text without wrapping.
The <cite>
tag has no attributes, but it does support global attributes.
They are rarely, if ever, used on <cite>
.
Here is when <cite>
support started for each browser:
Chrome
|
1.0 | Sep 2008 |
Firefox
|
1.0 | Sep 2002 |
IE/Edge
|
1.0 | Aug 1995 |
Opera
|
1.0 | Jan 2006 |
Safari
|
1.0 | Jan 2003 |