HTML Tag Reference - HTML tag <cite>








<cite> marks a citation by causing text between its opening and closing tags to be rendered in italics.

Browser compatibility

<cite> Yes Yes Yes Yes Yes

Global Attributes

The <cite> tag supports the Global Attributes in HTML.

Event Attributes

The <cite> tag supports the Event Attributes in HTML.

Default CSS Settings

cite { 
    font-style: italic;
}




Example

The following code uses <cite> tag to mark a URL.

<!DOCTYPE HTML> 
<html> 
    <head> 
        <title>Example</title>
    </head> 
<body> 
    My favorite book is <cite>google.com</cite> by Google.
</body> 
</html>

Click to view the demo