THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

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():

var x = document.getElementById("myCite"); Try it

Create a Cite Object

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

var x = document.createElement("CITE"); Try it

Standard Properties and Events

The Cite object also supports the standard properties and events.


Related Pages

HTML reference: HTML <cite> tag