THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

HTML DOM Blockquote Object


Blockquote Object

The Blockquote object represents an HTML <blockquote> element.

Access a Blockquote Object

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

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

Create a Blockquote Object

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

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

Blockquote Object Properties

Property Description
cite Sets or returns the value of the cite attribute of a quotation

Standard Properties and Events

The Blockquote object also supports the standard properties and events.


Related Pages

HTML reference: HTML <blockquote> tag

JavaScript reference: HTML DOM Quote Object