X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

HTML DOM Quote Object


Quote Object

The Quote object represents an HTML <q> element.

Access a Quote Object

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

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

Create a Quote Object

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

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

Quote Object Properties

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

Standard Properties and Events

The Quote object also supports the standard properties and events.


Related Pages

HTML reference: HTML <q> tag

JavaScript reference: HTML DOM Blockquote Object



Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE

facebook