JavaScript Programmer’s Reference Block { } (Statement) A (Web site translator)
JavaScript Programmer’s Reference Block { } (Statement) A list of executable statements enclosed in curly braces. Availability: ECMAScript edition 2 See also: Compound statement, if( … ) …, if( … ) … else …, Statement, Code block delimiter {} Cross-references: ECMA 262 edition 2 section 12.1 ECMA 262 edition 3 section 12.1 Wrox Instant JavaScript page 17 Block-level tag (Definition) A block-level tag cannot exist inside a line. It must be placed on a line by itself. By default, block-level items will be placed on a line by themselves because they force a line break before and after they are displayed. However you can modify the alignment and text flow around a block-level object to make it appear to be inline. BLOCKQUOTE object (Object/HTML) An object that represents a
text area. Availability: DOM level 1 JavaScript 1.5 JScript 3.0 Internet Explorer 4.0 Netscape 6.0 Inherits from: Element object 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] JavaScript syntax: -myBLOCKQUOTE = myDocument.getElementsByTagName(”BLOCKQUOTE”)[ anIndex]