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
The following table will show you the current browser support for the HTML <cite>
tag.
Desktop | |||||
12 | 1 | 1 | 15 | 4 |
Tablets / Mobile | |||||
18 | 4 | 14 | 3.2 | 1 | 4.4 |
Last updated by CSSPortal on: 30th September 2023