The BLOCKQUOTE Element


The <BLOCKQUOTE> Element

You use the <BLOCKQUOTE> element for indented quotations, and most browsers will indent text in this element automatically. This element object has two properties beyond the core HTML properties we covered in Chapter 5 blockDirection and cite and you can find these properties in Table 11.2. As with the other HTML elements we cover in this and the coming chapters, JavaScript's core HTML properties, methods , and events are also supported by this element. See Chapters 5 and 6 for the details.

Table 11.2. The Properties of the <BLOCKQUOTE> Element (See Chapters 5 and 6 for the JavaScript core HTML properties, methods, and events that also apply to this element.)

Property

NS2

NS3

NS4

NS6

IE3a

IE3b

IE4

IE5

IE5.5

IE6

blockDirection

             

x

x

x

 

Read-only

 

This property indicates whether the content in the block element flows from left to right, or from right to left. Set to a string: ltr for content that goes left to right, or rtl for content that goes right to left.

cite

                 

x

 

Read/write

 

This property sets or retrieves reference information about the object. You set this to a URL string holding a citation reference. (The browser will not navigate to that URL automatically as it would for a hyperlink.)



Inside Javascript
Inside JavaScript
ISBN: 0735712859
EAN: 2147483647
Year: 2005
Pages: 492
Authors: Steve Holzner

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net