Pr.Pg Next Pg

<CITE>..</CITE> tag tutorials

  • The <CITE>element indicates a citation from a book or other published source and usually is rendered in italics by a browser.

  • In HTML5, the < CITE > tag defines the title of a work.

  • In HTML 4.01, the < CITE> tag defines a citation.

  • The <CITE> element is supported by all major browsers like Chrome, Firefox, Internet Explorer, Safari, Opera.

  • The below table shows the attributes of <CITE> tag:

 

Sr No

Attributes

Descriptions

1

ID

This attribute specify a unique id for an element in document.

2

Style

This attribute specify an inline CSS style for an element.

3

Title

This attribute specify extra information about an element.

4

Draggable

This attribute specify whether an element is draggable or not.

5

Hidden

This attribute specify that an element is not yet, or is no longer, relevant

6

Contextmenu

This attribute specify a context menu for an element. The context menu appears when a user right-clicks on the element.

 

Syntax:

<body>

<cite>some text</cite>

</body>

 

Example: HTML program to demonstrate cite element

Output:
Pr.Pg border                                              Next Pg