HTML <cite> Tag
Description
The <cite>
HTML element represents the name of the creative work (books, articles, poems, scripts, films, songs, operas, games, etc.). This may be the work referenced in a quote, or just a work mentioned in passing. <cite>
is usually combined with quotes, in particular, with the <blockquote>
element and indicates the name of the work from which the quote is taken. Note that <cite>
is not suitable for reference to the source, there is a cite attribute for this. Browsers usually highlight text inside <cite>
in italics.
Properties
- Permitted Parents
- Any element that accepts phrasing content
- Content
- Inline and text
- Start/End Tags
- Start tag: required, End tag: required
Example
My favourite website is <cite>CSS Portal</cite>.
Attributes
None
Global Attributes
The <cite>
tag also supports the Global Attributes in HTML5
Event Attributes
The <cite>
tag also supports the Event Attributes in HTML5
Browser Support
Desktop | |||||
Yes | 12 | Yes | 1 | Yes | Yes |
Tablets / Mobile | |||||
![]() |
|||||
Yes | Yes | 4 | Yes | Yes | Yes |
Last updated by CSSPortal on: 6th December 2019