HTML <cite> Tag
In this tutorial, we will learn about cite tag in HTML with the help of examples.
<cite> Tag
Cite tag <cite> is used to define the title of creative work like a poem, a song, a movie, a painting, etc.
The text inside the <cite> tag usually renders in italic.
Note : The title of work cannot be the name of a person.
Syntax
<cite>.....</cite>
Example
<!DOCTYPE html>
<html>
<head>
<title>cite Tag</title>
</head>
<body>
<p>
<cite>Gulliver's Travel </cite>
by Jonathan Swift
</p>
</body>
</html>
Output
Gulliver's Travel by Jonathan Swift
Global Attribute
Cite Tag support all the global attributes of HTML.
Event Attribute
Cite Tag support all the event attributes of HTML.
Next Tutorial
We hope that this tutorial helped you develop better understanding of the concept of cite tag in HTML.
Keep Learning : )
In the next tutorial, you'll learn about HTML Code
Tag.