HTML <cite> tag

The <cite> tag defines the title of a project in an HTML document. By default, the texts within the <cite> element will be italic.

Type: Inline Element

Example of <cite> tag

<cite> A book </cite> for JavaScript written by Nicholas C. Zakas.

Supported Browsers

Tag Chrome Internet Explorer Firefox Safari Opera Mini
<cite> Yes Yes Yes Yes Yes

Full code example

<!DOCTYPE html>
<html>
<head>
</head>
<body>
<img src="images/book.jpg">
<p>
<cite> A book </cite> for JavaScript written by Nicholas.
</p>
</body>
</html>
Run The code »

Output on the browser

A book for JavaScript written by Nicholas.

Do you know that the <cite> element defines a citation in HTML 4.01.

More reference

Only the title name should be written within the <cite> element. A person's name can't be a title of a project.

Default CSS properties of <cite> tag

cite
{
  font-style: italic;
  color: #555;
  font-weight: 500;
}