HTML cite tag
Example
Define the title of a work with the <cite> tag:
<p><cite>The Scream</cite> by Edward Munch. Painted in 1893.</p>
The Scream by Edward Munch. Painted in 1893.
Definition and Usage
The <cite>
tag defines the title of a creative work (e.g. a book, a poem, a song, a movie, a painting, a sculpture, etc.).
Note: A person's name is not the title of a work.
The text in the <cite>
element usually renders in italic.
Global Attributes
The <cite>
tag also supports the Global Attributes in HTML.
Event Attributes
The <cite>
tag also supports the Event Attributes in HTML.
Default CSS Settings
Most browsers will display the <cite>
element with the following default values:
Example
cite {
font-style: italic;
}
font-style: italic;
}
Comments
Post a Comment