| Availability: |
| ||||||
| Inherits from: | Element object | ||||||
| JavaScript syntax: | IE | myBLOCKQUOTE = myDocument.all.anElementID | |||||
| IE | myBLOCKQUOTE = myDocument.all.tags("BLOCKQUOTE")[anIndex] | ||||||
| IE | myBLOCKQUOTE = myDocument.all[aName] | ||||||
| - | myBLOCKQUOTE = myDocument.getElementById(anElementID) | ||||||
| - | myBLOCKQUOTE = myDocument.getElementsByName(aName)[anIndex] | ||||||
| - | myBLOCKQUOTE = myDocument.getElementsByTagName("BLOCKQUOTE")[anIndex] | ||||||
| HTML syntax: | <BLOCKQUOTE> ... </BLOCKQUOTE> | ||||||
| Argument list: | anIndex | A valid reference to an item in the collection | |||||
| aName | The name attribute of an element | ||||||
| anElementID | The ID attribute of an element | ||||||
| Object properties: | cite | ||||||
| Object methods: | click() | ||||||
| Event handlers: | onClick, onDblClick, onDragStart, onFilterChange, onHelp, onKeyDown, onKeyPress, onKeyUp, onMouseDown, onMouseMove, onMouseOut, onMouseOver, onMouseUp, onSelectStart | ||||||
This is used to set off a long quote inside a document and is intended to place an extract from a document into the displayed window with an active link to the document it quotes from. The style and appearance is that of a block quote text.
The <BLOCKQUOTE> tag is a block-level tag. That means that it forces a line break before and after unless the alignment and text flow around it are controlled very cleverly.
The DOM level 1 specification refers to this as a QuoteElement object.
| See also: | Element object |
| Property | JavaScript | JScript | N | IE | Opera | NES | ECMA | DOM | CSS | HTML | Notes |
|---|---|---|---|---|---|---|---|---|---|---|---|
| cite | 1.5 ![]() | 3.0 ![]() | 6.0 ![]() | 4.0 ![]() | ![]() | ![]() | ![]() | 1 ![]() | ![]() | ![]() | - |
| Event name | JavaScript | JScript | N | IE | Opera | NES | ECMA | DOM | CSS | HTML | Notes |
|---|---|---|---|---|---|---|---|---|---|---|---|
| onClick | 1.5![]() | 3.0 ![]() | 6.0 ![]() | 4.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | 4.0 ![]() | ![]() |
| onDblClick | 1.5 ![]() | 3.0 ![]() | 6.0 ![]() | 4.0 ![]() |
| ![]() | ![]() | ![]() | ![]() | 4.0 ![]() | ![]() |
| onDragStart | ![]() | 3.0 ![]() | ![]() | 4.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | - |
| onFilterChange | ![]() | 3.0 ![]() | ![]() | 4.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | - |
| onHelp | ![]() | 3.0 ![]() | ![]() | 4.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| onKeyDown | 1.5 ![]() | 3.0 ![]() | 6.0 ![]() | 4.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | 4.0 ![]() | ![]() |
| onKeyPress | 1.5![]() | 3.0 ![]() | 6.0 ![]() | 4.0 ![]() |
| ![]() | ![]() | ![]() | ![]() | 4.0 ![]() | ![]() |
| onKeyUp | 1.5 ![]() | 3.0 ![]() | 6.0 ![]() | 4.0 ![]() |
| ![]() | ![]() | ![]() | ![]() | 4.0 ![]() | ![]() |
| onMouseDown | 1.5 ![]() | 3.0 ![]() | 6.0 ![]() | 4.0 ![]() |
| ![]() | ![]() | ![]() | ![]() | 4.0 ![]() | ![]() |
| onMouseMove | 1.5 ![]() | 3.0 ![]() | 6.0 ![]() | 4.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | 4.0 ![]() | ![]() |
| onMouseOut | 1.5![]() | 3.0 ![]() | 6.0 ![]() | 4.0 ![]() |
| ![]() | ![]() | ![]() | ![]() | 4.0 ![]() | ![]() |
| onMouseOver | 1.5![]() | 3.0 ![]() | 6.0 ![]() | 4.0 ![]() |
| ![]() | ![]() | ![]() | ![]() | 4.0 ![]() | ![]() |
| onMouseUp | 1.5![]() | 3.0 ![]() | 6.0 ![]() | 4.0 ![]() |
| ![]() | ![]() | ![]() | ![]() | 4.0 ![]() | ![]() |
| onSelectStart | ![]() | 3.0 ![]() | ![]() | 4.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | - |
| Prev | Home | Next |
| Block-level tag | Up | BLOCKQUOTE.cite |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. | ||