cite ElementThe cite element is an inline element declared by the XHTML 1.1 Text Module (Inline Phrasal)
Elements in the Text Module are:span | br (Inline Structural Support Module)em | strong | q | cite | abbr | acronym | code | var | kbd | samp | dfn (Inline Phrasal Support Module)div | p (Block Structural Support Module)h1 - h6 | blockquote | pre | address (Block Phrasal Support Module)
The cite element is used to indicate the source of a citation and its contents are commonly rendered in italic.
For example:
<p>Information on this page has been taken from our <cite>Great Big Guide to Hippos</cite>.</p>
This code renders as follows:
Information on this page has been taken from our Great Big Guide to Hippos.
The cite element can also be used in conjunction with the q element.
For example:
<p>As Charmian says in <cite>Shakespeare's Antony & Cleopatra</cite>: <q>I love long life better than figs.</q></p>
which renders as:
As Charmian says in Shakespeare's Antony & Cleopatra: I love long life better than figs.
There is no styling applied to the cite or q elements above and so they are
displayed using your browser's default behaviour.
There are no #REQUIRED attributes on the cite element.
There are no specific attributes declared on the cite element.
cite element are listed below:class [ type NMTOKENS ]id [ type ID ]style [ type CDATA ], from the Style Attribute Module (deprecated)title [ type Text ]xmlns [ type URI - #FIXED 'http://www.w3.org/1999/xhtml' ]dir [ type Enumeration (ltr | rtl) ], from the Bi-directional Text Modulexml:lang [ type LanguageCode ]All attributes in the
Events Attribute Collection
are supported:onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup
cite element is:
( #PCDATA | Inline.mix )*
See Content Model & Nesting for information about Content Model syntax and Nesting Groups.
citeabbr, acronym, br, cite, code, dfn, em, kbd, q, samp, span, strong, varabutton, input, label, select, textareaimgb, big, i, small, sub, sup, ttmapnoscript, scriptdel, insbdoobjectrubyciteabbr, acronym, address, cite, code, dfn, div, em, h1 - h6, kbd, p, pre, q, samp, span, strong, varadd, dt, licaption, td, thbutton, fieldset, label, legendb, big, i, small, sub, sup, ttdel, insbdoobjectrb, rt