| title | HTMLQuoteElement |
|---|---|
| slug | Web/API/HTMLQuoteElement |
| page-type | web-api-interface |
| browser-compat | api.HTMLQuoteElement |
{{APIRef("HTML DOM")}}
The HTMLQuoteElement interface provides special properties and methods (beyond the regular {{domxref("HTMLElement")}} interface it also has available to it by inheritance) for manipulating quoting elements, like {{HTMLElement("blockquote")}} and {{HTMLElement("q")}}, but not the {{HTMLElement("cite")}} element.
{{InheritanceDiagram}}
Inherits properties from its parent, {{domxref("HTMLElement")}}.
- {{domxref("HTMLQuoteElement.cite")}}
- : A string reflecting the
citeHTML attribute, containing a URL for the source of the quotation.
- : A string reflecting the
No specific method; inherits methods from its parent, {{domxref("HTMLElement")}}.
{{Specifications}}
{{Compat}}
- The HTML elements implementing this interface: {{HTMLElement("blockquote")}} and {{HTMLElement("q")}}, but not {{HTMLElement("cite")}}.