Latest web development tutorials
 

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

Example

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

Create a Blockquote Object

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

Example

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

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