Tutorialspoint.dev

HTML | cite Tag

The <cite> tag in HTML is used to define the title of a work. The <cite> tag in HTML4.1 define the citation and in HTML5 define the title of work. It display the text in italic format.

Syntax:

<cite> Title.. </cite>

Example:

<!DOCTYPE html>
<html>
    <head>
        <title>cite tag</title>
        <style>
            body {
                text-align:center;
            }
        </style>
    </head>
    <body>
        <h2><cite> Tag</h2>
        <img src=
        alt="gfg">
        <p><cite>GeeksforGeeks Image</cite></p>
    </body>
</html>                    

Output:

Supported Browser: The browser supported by <cite> tag are listed below:

  • Chrome
  • Internet Explorer
  • Firefox
  • Safari
  • Opera


This article is attributed to GeeksforGeeks.org

leave a comment

code

0 Comments

load comments

Subscribe to Our Newsletter