HTML DOM Quote Object

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP




<!--
main_leaderboard, all: [728,90][970,90][320,50][468,60]
-->



HTML DOM Quote Object



❮ Previous
Next ❯


Quote Object


The Quote object represents an HTML <q> element.


Access a Quote Object


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



Example



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

Try it Yourself »

Create a Quote Object


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



Example



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

Try it Yourself »

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





❮ Previous
Next ❯

Popular posts from this blog

California

New York City

CNN