Define the title of a work with the <cite> tag:
<p><cite>The Scream</cite> by Edward Munch. Painted in 1893.</p>
Try it Yourself »
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.
Element | |||||
---|---|---|---|---|---|
<cite> | Yes | Yes | Yes | Yes | Yes |
The <cite>
tag also supports the Global Attributes in HTML.
The <cite>
tag also supports the Event Attributes in HTML.
HTML DOM reference: Cite Object
Most browsers will display the <cite>
element with the following default values:
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!