THE BEST WEB DEVELOPER SITE

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 Cite object also supports the standard properties and events.


Related Pages

HTML reference: HTML <cite> tag