<cite>


HTML <cite> Tag

Instance

<!DOCTYPE html>
<html>
<head> 
<meta charset="utf-8"> 
<title>php中文网(php.cn)</title> 
</head>
<body>

<img src="img_the_scream.jpg" width="220" height="277" alt="The Scream">
<p><cite>The Scream</cite> by Edward Munch. Painted in 1893.</p>

</body>
</html>

Run Example»

Click the "Run Instance" button to view the online instance


Browser support

1000.png

All major browsers support< cite> tag.


Tag definition and usage instructions

<cite> Tags define the title of a work (such as a book, song, movie, TV show, painting, sculpture, etc.).

Note: The name of the person does not belong to the title of the work.


Differences between HTML 4.01 and HTML5

In HTML5, the <cite> tag defines the title of the work.

In HTML 4.01, the <cite> tag defines a quote.


Global attributes

<cite> tag supports HTML global attributes.


Event attributes

<cite> tag supports HTML event attributes.