HTML DOM Cite Object

Cite Object

The Cite object represents an HTML <cite> element.

Access a Cite Object

You can access a <cite> element by using getElementById():

Example

var x = document.getElementById(“myCite”);

Try it Yourself »

Create a Cite Object

You can create a <cite> element by using the document.createElement() method:

Example

var x = document.createElement(“CITE”);

Try it Yourself »

Standard Properties and Events

The Abbreviation object supports the standard properties and events.

Post Author: Zahid Farid