The Q Element


The <Q> Element

The <Q> element is used to set a quotation aside from other text; unlike the <BLOCKQUOTE> element, this element is an inline, not block element (which means it doesn't get its own separate line of text). This element really contains only one property not in the JavaScript core HTML property set cite , which you can see in Table 11.12.

Table 11.12. The Properties of the <Q> 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

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.)

And that completes our look at the HTML text elements. Now it's time to start working with text directly, using text ranges.



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