JavaScript Developer's Dictionary

Size: px
Start display at page:

Download "JavaScript Developer's Dictionary"

Transcription

1 JavaScript Developer's Dictionary Copyright 2002 by Sams Publishing International Standard Book Number: Warning and Disclaimer Every effort has been made to make this book as complete and as accurate as possible, but no warranty or fitness is implied. The information provided is on an "as is" basis. The author and the publisher shall have neither liability nor responsibility to any person or entity with respect to any loss or damages arising from the information contained in this book. When reviewing corrections, always check the print number of your book. Corrections are made to printed books with each subsequent printing. To determine the printing of your book, view the copyright page. The print number is right-most number on the line below the "First Printing" line. For example, the following indicates the 4 th printing of a title. First Printing: August

2 Misprint Page 10, table at top of page, add following entry after IE5.5 line: IE6 x=new Object () x={} Page 21, line above last paragraph: Objname._defineSetter_('propname',getterFunc) Page 24, both lines directly above "Syntax" near top of page and near bottom: Nav6, IE5.5 Page 26, line above Syntax at top of page Nav6, IE5.5 Page 27, two-thirds down the page, line above Syntax: Nav6, IE5.5 Page 29, near bottom, line below Syntax objname.watch(propname, watchfunction) Page 38, table at top of page, add following entry after IE5.5 line: IE6 function functionname(arguments) {source} FunctionName = new Function(arguments, source) FunctionName = function (arguments) {source} Page 38, Description, third sentence: In the preceding chapter, you saw several examples of functions, including the ineq function. Page 40, fourth full paragraph: In light of this, it is far easier to use the tostring method of Correction Objname._defineSetter_('propname',setterFunc) Nav6, IE5.5+ Nav6, IE5.5+ Nav6, IE5.5+ objname.watch("propname", watchfunction) In the preceding chapter, you saw several examples of functions. In light of this, it is far easier to use the tostring()

3 Function() objects than for...in statements to determine what exactly is a property of a function. Page 41, second full paragraph, first sentence: One of the most common examples of recursion is the factorial () function. Page 43, second paragraph, fourth sentence For users who don't have try...catch, error handling is limited to the onerror event handler, described in Chapter 31, "Programmable Elements." Page 46, line under Syntax and first sentence after that: functionname.arity The arity property of the Function() object returns the number of parameters expected by the function and is essentially identical to the Function().length property. Page 46, last full paragraph, first sentence: The arguments property of the Function() object is an array representing the arguments passed to the function, in order. Page 47, first two lines under arguments.callee header: JavaScript 1.2, JScript 5.5 Nav4, IE5.5 Page 47, last full paragraph, first sentence The arguments property of the Function() object is available only within the function, and refers to the function itself. method of Function() objects than for...in statements to determine what exactly is a property of a function. One of the most common examples of recursion is the factorial() function. For users who don't have try...catch, error handling is limited to the onerror event handler, described in Chapter 31, "Programmable Elements." functionname.arity The arity property of functions returns the number of parameters expected by the function and is essentially identical to the Function().length property. The arguments property of functions is an array representing the arguments passed to the function, in order. JavaScript 1.2+, JScript 5.5+ Nav4+, IE5.5+ The arguments.callee property of the functions is available only within the function, and refers to the function itself. Page 47, final three lines: JavaScript 1.1 JavaScript 1.1, JavaScript 1.5

4 Nav Deprecated in Nav4.06 Page 48, first sentence: The caller property of the Function() object refers to the Function() object which called the Function() object currently running. Page 48, first paragraph, last sentence and note below it: Netscape 6 dzoes not support this property in any form. Note... Page 48, sentence above Function().caller header: The length property of the Function() object refers to the number of arguments actually passed to the function. Page 48, second line under Function().caller header: Nav , IE4+ Page 48, last paragraph, first sentence and line above it: functionname.caller The caller property of the Function() object refers to the Function() object that called the Function() object currently running. Page 49, first line under syntax and sentence that follows: functionname.length The length property of the Function() object refers to the minimum number of arguments in a function definition. Page 49, second paragraph, second and third sentences: The length property of the Function() object returns the number of arguments specified in the function definition. The length property Nav3 4.05, Nav6.01+ Deprecated in Nav4.06-Nav6.00 The caller property of functions refers to the Function() object which called the Function() object currently running. Netscape 6.00 does not support this property in any form, but Netscape 6.01 recently reinstated the Function().caller syntax. The length property of functions refers to the number of arguments actually passed to the function. Nav , IE4+, Nav6.01+ functionname.caller The caller property of functions refers to the Function() object that called the Function() object currently running. functionname.length The length property of functions refers to the minimum number of arguments in a function definition. The length property of a function returns the number of arguments specified in the function definition. The

5 of the Function().arguments object returns the actual number of arguments received. Page 50, first sentence and three lines above it: Nav4.06+, IE5.5 Syntax Functionname.apply(thisobj, argumentsarray) The apply() method of the Function() object allows you to apply most functions as if they were methods of other objects. Page 50, bottom of page, lines above and below Syntax: Nav4.06+, IE5.5 functionname.call(thisobj,arg0, arg1, arg2...) Page 51, line above and below Syntax: Overrides Object().toString() functionname.tostring() Page 52, middle of page, under "Function().toSource" header, thirdfifth lines and first sentence after: Overrides Object.toSource() Syntax functionname.tosource() The tosource() method of the Function() object returns a string containing the source code of the Function() object. Page 52, under "Function().valueOf" header, third-fifth lines and first sentence after: Overrides Object.valueOf() Syntax functionname.vauleof() length property of the arguments object returns the actual number of arguments received. Nav4.06+, IE5.5+ Syntax Functionname.apply(thisobj, argumentsarray) The apply() method of functions allows you to apply most functions as if they were methods of other objects. Nav4.06+, IE5.5+ functionname.call(thisobj,arg0, arg1, arg2...) Overrides Objecty.prototype.toString functionname.tostring() Overrides Object.prototype.toSource Syntax functionname.tosource() The tosource() method of functions returns a string containing the source code of the Function() object. Overrides Object.prototype.valueOf Syntax functionname.vauleof() The valueof() method of functions returns the Function()

6 The valueof() method of the Function() object returns the Function() object itself. Page 58, add following entry to table after IE5.5/Jscript 5.5 entry: IE6 x = new Array(argument1, argument2...) x = new Array(length) x = new Array() // for zero-length arrays x = [] Page 61, bottom of page, first two lines under "index": JavaScript 1.2+, JScript 5.5 Nav4+, IE4+ object itself. JavaScript 1.2+, JScript 3.0+ Nav4+, IE4+ Page 62, first line under "input": JavaScript 1.2+, JScript 5.5 JavaScript 1.2+, JScript 3.0+ Page 62, first line under "length": Nav3+, IE4+ Nav3+, IE4+, JavaScript 1.1+, JScript 3.0+ Page 64, first line under "join()": JavaScript 1.1, JScript 3+ JavaScript 1.1+, JScript 3+ Page 64, first line under Syntax at top of page: var x = arrayobj.join(joinstring) Page 65, second line under "push()" Nav4+, IE5.5 Page 71, second line under "unshift() Nav4+, IE5.5 Page 78, Table at top of page All references to stringvalue should be italic var x = arrayobj.join(joinstring) Nav4+, IE5.5+ Nav4+, IE5.5+

7 Page 104, table at top of page, add the following entry after IE5.5/JScript 5.5 IE6 x = new Boolean() x = (comparison) Page 112, table at top of page, add the following entry after IE5.5/JScript 5.5 IE6 x = new Date() Page 112, third paragraph, last sentence: Thus, 1,000 would indicate 12:00:01 a.m. on January 1st, 1970 GMT (Greenwich Mean Time) time, precisely. Page 138, table at top of page: All references to "number" should italic Thus, 1,000 would indicate 12:00:01 a.m. on January 1st, 1970 GMT (Greenwich Mean Time, also known as Universal Coordinated Time, or UTC) time, precisely. Page 146, table 7.1, second line: y=0 z=0 z=0 z=0 z=0 z=0 y=0 z=0 z=0 z=0 z=number.nan z=number.nan Page 172, table at top of page, add following entry after IE5.5/JScript 5.5: IE6 x = new RegExp("regular-expression", "flags") x = /regular-expression/flag Page 173, Listing 9.1, lines 6, 12, 15: document.write(x.match(y) + "<br>") // displays the string "Hello" Page 174, Listing 9.2, lines 1, 10, 12, 13, 17: document.write(x.match(y) + "<br />") // displays the string "Hello"

8 document.write(w.match(x) + "<br>") // returns document.write(w.match(y) + "<br>") // returns ["o","or","o","o" document.write(w.match(z) + "<br>") // retunrs ["he","he","hee","hee"] Page 175, Listing 9.3, Lines 6, 9: document.write(x.match(y) + "<br>").. returns ab Page 175, Listing 9.4, lines 7, 15: Page 176, Listing 9.5, lines 6, 14, 15, 18: document.write(w.match(x) + "<br>") // returns ["b1","bc"] document.write(w.match(y) + "<br>" // returns ["b123bc"] Page 176, Listing 9.6, lines 6, 13, 16: document.write(x.match(y) + "<br>") // returns ["m", "m"] Page 177, Listing 9.7, lines 6, 14, 19: document.write(w.match(x) + "<br>") // returns ["zam", "qua"] document.write(w.match(x) + "<br />") // returns document.write(w.match(y) + "<br />") // returns ["o","or","o","o" document.write(w.match(z) + "<br />") // retunrs ["he","he","hee","hee"] document.write(x.match(y) + <br />).. returns ab document.write(w.match(x) + "<br />") // returns ["b1","bc"] document.write(w.match(y) + "<br />" // returns ["b123bc"] </p> document.write(x.match(y) + "<br/>") // returns ["m", "m"] document.write(w.match(x) + "<br />") // returns ["zam", "qua"]

9 Page 177, Listing 9.8, line 6: Page 178, Listing 9.8, line 6: Page 179, Listing 9.9, line 6: Page 179, Listing 9.9, lines 4, 9: document.write(w.match(y) + "<br>") // returns ["Cheese?"] Page 179, Listing 9.10, lines 6, 13: document.write(w.match(x) + "<br>") // returns ["3","1","4","1","5","9"] Page 180, Listing 9.10, line 1: Page 180, Listing 9.11, lines 6, 13, 16: document.write(x.match(y) + "<br>") // returns ["H", "e", "y"] document.write(w.match(y) + "<br />") // returns ["Cheese?"] document.write(w.match(x) + "<br />") // returns ["3","1","4","1","5","9"] document.write(x.match(y) + "<br />") // returns ["H", "e", "y"] Page 181, Listing 9.12, lines 6, 16, 17, 18, 19, 20, 22, 23, 24, 27: document.write("original string: " + x + "<br>") document.write("matching: " + y " "<br>") document.write(x.match(y) + "<br>") // ["H", ",", "b", "!"] document.write("original string: " + x + "<br />") document.write("matching: " + y " "<br />") document.write(x.match(y) + "<br />") // ["H", ",", "b", "!"]

10 document.write("matching: " + p + "<br>") document.write(x.match(p) + "<br>") // ["y", " ", "r"] document.write("matching: " + z + "<br>") document.write(x.match(z) + "<br>") // ["e", "y", " ", "a", "t", "t", "e", "r" document.write("matching: " + q + "<br>") Page 182, Listing 9.13, lines 6, 14: Page 182, Listing 9.14, lines 6, 14: Page 183, Listing 9.15, lines 7, 14: document.write(x.match(y) + "<br>") // returns ["batta"] Page 184, Listing 9.15, line 2: Page 184, Listing 9.16, lines 6, 13, 16: document.write(x.match(y) + "<br>") // returns ["day-o"] Page 185, Listing 9.17, lines 1, 10, 13: document.write(x.match(y) + "<br>") // returns [] document.write("matching: " + p + "<br />") document.write(x.match(p) + "<br />") // ["y", " ", "r"] document.write("matching: " + z + "<br />") document.write(x.match(z) + "<br />") // ["e", "y", " ", "a", "t", "t", "e", "r" document.write("matching: " + q + "<br />") document.write(x.match(y) + "<br />") // returns ["batta"] document.write(x.match(y) + "<br />") // returns ["day-o"] document.write(x.match(y) + "<br />") // returns []

11 Page 187, Listing 9.19, lines 6, 12-15, 17, 20-22, 25-27, 29-30: document.write("original string: " + x + "<br>") document.write("regexp.index: " + RegExp.index +"<br>") // returns 5 document.write(regexp.lastindex: " + RegExp.lastIndex + "<br>" // returns 9 document.write(regexp.charat: " + x.charat(regexp.lastindex) + "<br>") // returns "b" document.write("x.charat: " + x.charat(regexp.lastindex) + "<br>") // returns "a" document.write("y.exec(x) <br>" document.write("regexp.index: " + RegExp.index + "<br>") // returns 5 document.write("regexp.lastindex: " + RegExp.lastIndex + "<br>") // returns 9 document.write("y.exec(x) <br>") document.write("regexp.index: " + RegExp.index + "<br>") // returns 5 document.write("regexp.lastindex: " + RegExp.lastIndex + "<br>") // returns 9 document.write("y.exec(x) <br>") document.write("regexp.index: " + RegExp.index + "<br>") // returns 11 in IE5.5, Page 189, fourth line under RegExp.input/RegExp.$_: IE5.5 (RegExp.$_) document.write("original string: " + x + "<br />") document.write("regexp.index: " + RegExp.index +"<br />") // returns 5 document.write(regexp.lastindex: " + RegExp.lastIndex + "<br />" // returns 9 document.write(regexp.charat: " + x.charat(regexp.lastindex) + "<br />") // returns "b" document.write("x.charat: " + x.charat(regexp.lastindex) + "<br> /") // returns "a" document.write("y.exec(x) <br />" document.write("regexp.index: " + RegExp.index + "<br />") // returns 5 document.write("regexp.lastindex: " + RegExp.lastIndex + "<br />") // returns 9 document.write("y.exec(x) <br />") document.write("regexp.index: " + RegExp.index + "<br />") // returns 5 document.write("regexp.lastindex: " + RegExp.lastIndex + "<br />") // returns 9 document.write("y.exec(x) <br />") document.write("regexp.index: " + RegExp.index + "<br />") // returns 11 in IE5.5, IE5.5+ (RegExp.$_)

12 Page 189,second line under RegExp.().lastIndex: Nav4+, IE5.5 Page 189, line under Syntax: RegExp.$n Page 190, second line under RegExp.lastMatch: Nav4+, IE5.5 Page190, second line under, RegExp.lastParen: Nav4+, IE5.5 Page 190, Listing 9.21, line 6: Page 191, Listing 9.21, lines 4, 6, 7, 9, 11, 12, 14: document.write(regexp.input + "<br>") document.write(regexp.$_+ "<br>") // returns x, not supported under Netscape document.write (RegExp.lastMatch + "<br>") // returns "ex" document.write (RegExp.lastParen + "<br>") // returns "e" document.write (RegExp.lastMatch + "<br>") // returns "ex" document.write (RegExp.lastParen + "<br>") // returns "e" Page 191, second line under RegExp.leftContext: Nav4+, IE5.5 Page 191, second line under RegExp.rightContext: Nav4+, IE5.5 Page 192, Listing 9.22, lines 6, 12, 14, 18: Nav4+, IE5.5+ RegExp["$n"] Nav4+, IE5.5+ Nav4+, IE5.5+ document.write(regexp.input + "<br />") document.write(regexp.$_+ "<br />") // returns x, not supported under Netscape document.write (RegExp.lastMatch + "<br />") // returns "ex" document.write (RegExp.lastParen + "<br />") // returns "e" document.write (RegExp.lastMatch + "<br />") // returns "ex" document.write (RegExp.lastParen + "<br />") // returns "e" Nav4+, IE5.5+ Nav4+, IE5.5+

13 document.write(regexp.leftcontext + "<br>") // returns "The ox met the ax, and document.write(regexp.rightcontext + "<br>") // returns "ed." Page 192, line under Syntax: RegexpObj.source Page 193, second line under RegExp().multiline: Nav6, IE5.5 Page 194, line under Syntax: regexpobj.compile(pattern [, flags]) Page 196, third line under RegExp().toSource(): Overrides Object().toSource() Page 197, third line under RegExp().toString(): Overrides Object().toString() Page 197, third line under RegExp().valueOf(): Overrides Object().valueOf() Page 208, add following note above Methods: Mozilla builds also include a stack property (BUG at bugzilla.mozilla.org). I requested it. It will be in Netscape 7. Page 215, first two lines under decodeuri(): JavaScript1.5,JScript 5.5 Nav6, IE5.5 document.write(regexp.leftcontext + "<br />") // returns "The ox met the ax, and document.write(regexp.rightcontext + "<br />") // returns "ed." RegexpObj.source Nav6, IE5.5+ regexpobj.compile(pattern [, flags]) Overrides Object.prototype.toSource() Overrides Object.prototype.toString() Overrides Object.prototype.valueOf() JavaScript1.5,JScript 5.5+ Nav6, IE5.5+ Page 215, first two lines under decodeuricomponent(): JavaScript1.5,JScript 5.5 JavaScript1.5,JScript 5.5+

14 Nav6, IE5.5 Page 216, first two lines under encodeuri(): JavaScript1.5,JScript 5.5 Nav6, IE5.5 Page 216, first two lines under encodeuricomponent(): JavaScript1.5,JScript 5.5 Nav6, IE5.5 Page 217, Listing 11.1, lines 6, 24: Page 221, Listing 11.2, lines 6, 17: Page 226, last full sentences on page: The return statement causes a Function object to return object to any object calling the function, and then exit the function. Page 230, first line under Syntax: Nav6, IE5.5+ JavaScript1.5,JScript 5.5+ Nav6, IE5.5+ JavaScript1.5,JScript 5.5+ Nav6, IE5.5+ The return statement causes a function to return object to any object calling the function, and then exit the function. Var varname [ + value] [, object [ + value] [,...] ] Var varname [ + value] [, object [ + value] [,...] ] Page 231, Listing 11.8, line 5: <head><title> Page 232, Listing 11.8, line 9, and delete lines 10, 11: Paging 232, Listing 11.9, line 7: <script langauge=" JavaScript" type="text.javascript"> <head><title></title></head> <script language=" JavaScript" type="text.javascript">

15 Paging 234, Listing 11.10, lines 3, 5: <script langauge="javascript" type="text/javascript"> var a = 1 // Thirdcommand executed Page 252, last line on page: x = new ConstructorFunction() Page 258, fourth line of first set of code, remove space at beginning of line Page 292, second line under frameelement: IE5.5 Page 310, lines 6, 26: Page 332, second paragraph, add following sentence: Listing 1.10 has another. Page 333, third paragraph, last sentence: Listing details the problem. Page 344, code in middle of page, lines 3, 4: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" [ic:ccc]"dtd/xhtml1-transitional.dtd"> Page 364, top of page, add following line after IE5.5/JScript 5.5: IE6 window object Page 365, near top of page, code line: <script language="javascript" type="text/javascript"> var a = 1 // Third command executed x = new ConstructorFunction() IE5.5+ Listing details the problem, and Listing 1.10 has a solution. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" [ic:ccc]"dtd/xhtml1-frameset.dtd"> <p id="mytarget>...<p> <p id="mytarget>...</p> Page 367, Listing 16.1, delete first line and replace with:

16 <? Xml version="1.0?> <!DOCTYPE...> <html xmlns=" <head><title></title></head> Page 369, line under Syntax: var x =] location.search [= "querystring"] Page 371, Listing 16.2, delete first line and replace with: <? Xml version="1.0?> <!DOCTYPE...> <html xmlns=" <head><title></title></head> Page 372, Listing 16.3, delete first line and replace with: <? Xml version="1.0?> <!DOCTYPE...> <html xmlns=" <head><title></title></head> Page 376, table at top of page, add following after IE5.5/JScript 5.5: IE6 window object Page 382, table at top of page, add following after IE5.5/JScript 5.5: IE6 Browser Page 387, second-to-last line on page: Navigator.mimeTypes['application/x-shockwave-flash'] Page 395, last paragraph, first sentence: [var x =] location.search [= "querystring"] navigator.mimetypes['application/x-shockwave-flash']

17 Similar to the getattribute method of the Document interface in Chapter 20, "Core DOM Objects," this value accepts a vcard object name as its first argument, a String() value. Page 408, table at top of page, add following after IE5.5/JScript 5.5: IE6 Browser Page 483, second-to-last line on page: var all = HTMLElement.getElementsByTagName('*') Page 499, Figure 21.1, add the callout "" just above scrollbarleft and point it inside the box. Page 520, add sentence above length header: If the first argument results in a collection, the second argument finds an element of the collection to return. Page 523, add sentence to end of last paragraph on page: See Chapter 33, "Styling for HTML Elements," for details. Page 524, add sentence to paragraph preceding defaultcharset header: See Chapter 35, "Cookies," for more information. Page 529, add sentence to paragraph preceding images header: See Chapter 33, "Styling for HTML Elements," for more information. Page 534, add sentence to paragraph preceding title header: See Chapter 33, "Styling for HTML Elements," for more information. Page 548, last line on page: document.recalc() Page 549, add sentence to paragraph preceding releaseevents() header: Similar to the getattribute method of the Document interface in Chapter 20, "Core DOM Objects," this value accepts a vcard object name as its first argument, a string. var all = HTMLElement.getElementsByTagName('*') document.recalc(boolvalue)

18 See Chapter 32, :DOM-2 Events and Event Handlers," for details. Page 562, Listing 24.1 delete lines 16 (<p>) and 23 (</p>) Page 567, table at bottom of page, each item in Created By column: <base>...</base> Page 569, add sentence to paragraph preceding target header: Netscape 6 supports this by the Node interface (Chapter 20, "Core DOM Objects"). Page 572, add sentence to paragraph preceding scheme header: Netscape 6 supports this by the Node interface (Chapter 20, "Core DOM Objects"). Page 574, Listing 24.2, line 5: If (document.getelementbyid) { Page 576, last line, delete Nav6 Page 577, add sentence to paragraph preceding text header: Netscape 6 supports this through the Node interface in Chapter 20, "Core DOM Objects." Page 583, first paragraph, first sentence: You should also, when writing your forms, aim for XHTML 1.0 Transitional; use both name and id attributes, matching their values. Netscape Communicator 4.x recognizes only the name attribute in its DOM, and the id attribute you should include anyway, as your forms are fairly important pieces of the document. Page 583, add following note after first paragraph: Netscape 4.x only recognizes the name attribute. Page 625, line preceding last paragraph on page: var x = HTMLOptionElement.selected <base/> if (document.getelementbyid) { You should also, when writing your forms, aim for XHTML 1.0 Transitional; use the name attribute for what you sent to the server, and the id attribute for your client browser. var x = HTMLOptionElement.selected

19 Page 630, first two lines after length header: JavaScript 1.0, JavaScript 1.3, JavaScript 1.5, JScript 1.0+ Nav2-Nav4, Nav6 IE3+ Page 634, first paragraph on page, add following sentence to end: The second argument is an <option/> which the first agrument will precede, or null to indicate appending the first argument to the end of this. Page 636, last sentence on page: Listing 25.9 demonstrates one way for an HTMLOptionElement object to have itself removed from its parent select box. Page 655, last line on page: [var x =] HTMLInputElement.defaultValue [= defstring] Page 659, under tablndex header, add line above syntax: Types of inputs supported: button, checkbox, file, password, radio, reset, submit, text Page 703, second line under hreflang header: Nav6, IE6+ Page 706, first line under outertext header: JScript4.0+ Page 708, paragraph above shape header, last sentence: For browsers prior to Netscape 6 and Internet Explorer 5.5, avoid placing spaces, question marks, colons, # characters, and percentage marks in the query-string. Page 724, tabel at bottom of page: Nav4/JavaScript 1.2 <h1>...</h1> JavaScript 1.0+, JScript 1.0+ Nav2+, IE3+ Listing demonstrates one way for an HTMLOptionElement object to have itself removed from its parent select box. [var x =] HTMLInputElement.defaultValue [= defstring] Nav6, IE6 JScript3.0+ For browsers prior to Netscape 6 and Internet Explorer 5.5, avoid placing spaces, question marks, colons, # characters, characters in the query-string. Nav4/JavaScript 1.2 <h1>...</h1>

20 <h2>...</h2> <h3>...</h3> <h4>...</h4> <h5>...</h5> <h6>...</h6> Page 734, tabel at top of page, third line <h2>...</h2> <h3>...</h3> <h4>...</h4> <h5>...</h5> <h6>...</h6> var x = new Layer(width) var x = new Layer(width) Page 768, table header at top of page: HTMLQuoteElement Interface / <q>...</q> Page 768, table at top of page, lines 2, 4, 6, 8, 10, 12, 14: <quote>...</quote> <quote>...</quote> <quote>...</quote> <quote>...</quote> <quote>...</quote> <quote>...</quote> document.createelement("quote") Page 768, note, last line: Block Text Element (blockquote), Inline Text Element (quote) Page 768, last paragraph on page, add following sentence at end: Similarly, <q>...<.q> defines an inline quote. Page 779, caution, fifth sentence: Third is an optional table foot section, followed by optional table HTMLQuoteElement Interface / <q>...</q> /<blockquote>...</blockquote> <q>...</q> <q>...</q> <q>...</q> <q>...</q> <q>...</q> <q>...</q> document.createelement("q") Block Text Element (blockquote), Inline Text Element (q) Fourth is an optional table foot section, followed by

21 body sections. optional table body sections. Page 790, first line under item header: JavaScript_1.5,JScript 3.0+ JavaScript 1.5,JScript 3.0+ Page 790, under item header, second line under syntax: var x = HTMLTableElement.rows.item('idstring'[,optionalIndex]) var x = HTMLTableElement.rows.item('idstring'[,optionalIndex]) Page 790, first line under length header: JavaScript_1.5,JScript 3.0+ JavaScript 1.5,JScript 3.0+ Page 855, first line under name header: JavaScript_1.5,JScript_3.0+ JavaScript 1.5,JScript 3.0+ Page 860, first line under nohref: JavaScript 1.5,JScript_3.0 JavaScript 1.5,JScript 3.0 Page 861, first line under target header: JavaScript 1.5,JScript_3.0 JavaScript 1.5,JScript 3.0 Page 938, sentence preceding ctrlleft header: The ctrlkey property of Event objects reflects, for user interface events, whether the Alt key on a Windows keyboard was pressed when the event fires. Page 956, first line under Syntax: EventObject.initUIEvent(type, bubblebool, cancelbool, window, detailarg) Page 956, second-to-last bullet on the page, first sentence: The fourth argument (window) in considered a "view" of the event. Page 971, Note at top of page: Future versions of Netscape (such as 6.5, based on Mozilla 1.0) will revert tot he Netscape 4.x window.onerror behavior for error tracking. The ctrlkey property of Event objects reflects, for user interface events, whether the CTRL or Control key on a Windows keyboard was pressed when the event fires. EventObject.initUIEvent(type, bubblebool, cancelbool, view, detailarg) The fourth argument (view) in considered a "view" of the event. Future versions of Netscape (such as 7.0, based on Mozilla 1.0) may revert tot he Netscape 4.x

22 revert tot he Netscape 4.x window.onerror behavior for error tracking. Page 1086, Listing 36.6, line 22: window.onerror behavior for error tracking. <math:mi>bx</math:mi> <math:mi>b</math:mi><math:mi>x<math:mi> This errata sheet is intended to provide updated technical information. Spelling and grammar misprints are updated during the reprint process, but are not listed on this errata sheet.

Sams Teach Yourself Java 2 in 21 Days, Fourth Edition. Copyright 2004 by Sams Publishing. International Standard Book Number:

Sams Teach Yourself Java 2 in 21 Days, Fourth Edition. Copyright 2004 by Sams Publishing. International Standard Book Number: Sams Teach Yourself Java 2 in 21 Days, Fourth Edition Copyright 2004 by Sams Publishing International Standard Book Number: 0-672-32628-0 Warning and Disclaimer Every effort has been made to make this

More information

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0 WEB TECHNOLOGIES A COMPUTER SCIENCE PERSPECTIVE CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0 Modified by Ahmed Sallam Based on original slides by Jeffrey C. Jackson reserved. 0-13-185603-0 HTML HELLO WORLD! Document

More information

Zend PHP Certification Study Guide. Copyright 2005 by Sams Publishing. International Standard Book Number: Warning and Disclaimer

Zend PHP Certification Study Guide. Copyright 2005 by Sams Publishing. International Standard Book Number: Warning and Disclaimer Zend PHP Certification Study Guide Copyright 2005 by Sams Publishing International Standard Book Number: 0-672-32709-0 Warning and Disclaimer Every effort has been made to make this book as complete and

More information

Sams Teach Yourself ASP.NET in 24 Hours

Sams Teach Yourself ASP.NET in 24 Hours Sams Teach Yourself ASP.NET in 24 Hours Copyright 2003 by Sams Publishing International Standard Book Number: 0672325624 Warning and Disclaimer Every effort has been made to make this book as complete

More information

Sams Teach Yourself ASP.NET in 24 Hours

Sams Teach Yourself ASP.NET in 24 Hours Sams Teach Yourself ASPNET in 24 Hours Copyright 2003 by Sams Publishing International Standard Book Number: 0672325438 Warning and Disclaimer Every effort has been made to make this book as complete and

More information

CSI 3140 WWW Structures, Techniques and Standards. Markup Languages: XHTML 1.0

CSI 3140 WWW Structures, Techniques and Standards. Markup Languages: XHTML 1.0 CSI 3140 WWW Structures, Techniques and Standards Markup Languages: XHTML 1.0 HTML Hello World! Document Type Declaration Document Instance Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson

More information

Lecture : 3. Practical : 2. Course Credit. Tutorial : 0. Total : 5. Course Learning Outcomes

Lecture : 3. Practical : 2. Course Credit. Tutorial : 0. Total : 5. Course Learning Outcomes Course Title Course Code WEB DESIGNING TECHNOLOGIES DCE311 Lecture : 3 Course Credit Practical : Tutorial : 0 Total : 5 Course Learning Outcomes At end of the course, students will be able to: Understand

More information

Documents and computation. Introduction to JavaScript. JavaScript vs. Java Applet. Myths. JavaScript. Standard

Documents and computation. Introduction to JavaScript. JavaScript vs. Java Applet. Myths. JavaScript. Standard Introduction to Prof. Ing. Andrea Omicini II Facoltà di Ingegneria, Cesena Alma Mater Studiorum, Università di Bologna andrea.omicini@unibo.it Documents and computation HTML Language for the description

More information

Web Site Development with HTML/JavaScrip

Web Site Development with HTML/JavaScrip Hands-On Web Site Development with HTML/JavaScrip Course Description This Hands-On Web programming course provides a thorough introduction to implementing a full-featured Web site on the Internet or corporate

More information

Eclipse Kick Start. Copyright 2005 by Sams Publishing. International Standard Book Number:

Eclipse Kick Start. Copyright 2005 by Sams Publishing. International Standard Book Number: Eclipse Kick Start Copyright 2005 by Sams Publishing International Standard Book Number: 0672326108 Warning and Disclaimer Every effort has been made to make this book as complete and as accurate as possible,

More information

Introduction to JavaScript p. 1 JavaScript Myths p. 2 Versions of JavaScript p. 2 Client-Side JavaScript p. 3 JavaScript in Other Contexts p.

Introduction to JavaScript p. 1 JavaScript Myths p. 2 Versions of JavaScript p. 2 Client-Side JavaScript p. 3 JavaScript in Other Contexts p. Preface p. xiii Introduction to JavaScript p. 1 JavaScript Myths p. 2 Versions of JavaScript p. 2 Client-Side JavaScript p. 3 JavaScript in Other Contexts p. 5 Client-Side JavaScript: Executable Content

More information

Sams Teach Yourself Apache 2 in 24 Hours

Sams Teach Yourself Apache 2 in 24 Hours Sams Teach Yourself Apache 2 in 24 Hours Copyright 2002 by Sams Publishing International Standard Book Number: 0-672-32355-9 Warning and Disclaimer Every effort has been made to make this book as complete

More information

Basics of Web Design, 3 rd Edition Instructor Materials Chapter 2 Test Bank

Basics of Web Design, 3 rd Edition Instructor Materials Chapter 2 Test Bank Multiple Choice. Choose the best answer. 1. What element is used to configure a new paragraph? a. new b. paragraph c. p d. div 2. What element is used to create the largest heading? a. h1 b. h9 c. head

More information

introduction to XHTML

introduction to XHTML introduction to XHTML XHTML stands for Extensible HyperText Markup Language and is based on HTML 4.0, incorporating XML. Due to this fusion the mark up language will remain compatible with existing browsers

More information

The Ruby Way. Copyright 2003 by Que Publishing. International Standard Book Number: Warning and Disclaimer

The Ruby Way. Copyright 2003 by Que Publishing. International Standard Book Number: Warning and Disclaimer The Ruby Way Copyright 2003 by Que Publishing International Standard Book Number: 0672320835 Warning and Disclaimer Every effort has been made to make this book as complete and as accurate as possible,

More information

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts Web Development & Design Foundations with XHTML Chapter 2 Key Concepts Learning Outcomes In this chapter, you will learn about: XHTML syntax, tags, and document type definitions The anatomy of a web page

More information

INTRODUCTION TO HTML5! HTML5 Page Structure!

INTRODUCTION TO HTML5! HTML5 Page Structure! INTRODUCTION TO HTML5! HTML5 Page Structure! What is HTML5? HTML5 will be the new standard for HTML, XHTML, and the HTML DOM. The previous version of HTML came in 1999. The web has changed a lot since

More information

710 Index Attributes, 127 action attribute, 263 assigning, bottom attribute, domain name attribute, 481 expiration date attribute, 480 8

710 Index Attributes, 127 action attribute, 263 assigning, bottom attribute, domain name attribute, 481 expiration date attribute, 480 8 INDEX Symbols = (assignment operator), 56 \ (backslash), 33 \b (backspace), 33 \" (double quotation mark), 32 \e (escape), 33 \f (form feed), 33

More information

Chapter 2:- Introduction to XHTML. Compiled By:- Sanjay Patel Assistant Professor, SVBIT.

Chapter 2:- Introduction to XHTML. Compiled By:- Sanjay Patel Assistant Professor, SVBIT. Chapter 2:- Introduction to XHTML Compiled By:- Assistant Professor, SVBIT. Outline Introduction to XHTML Move to XHTML Meta tags Character entities Frames and frame sets Inside Browser What is XHTML?

More information

CSC Web Programming. Introduction to JavaScript

CSC Web Programming. Introduction to JavaScript CSC 242 - Web Programming Introduction to JavaScript JavaScript JavaScript is a client-side scripting language the code is executed by the web browser JavaScript is an embedded language it relies on its

More information

CS144 Notes: Web Standards

CS144 Notes: Web Standards CS144 Notes: Web Standards Basic interaction Example: http://www.youtube.com - Q: what is going on behind the scene? * Q: What entities are involved in this interaction? * Q: What is the role of each entity?

More information

JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK

JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK Programming for Digital Media EE1707 JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK 1 References and Sources 1. Javascript & JQuery: interactive front-end

More information

Schenker AB. Interface documentation Map integration

Schenker AB. Interface documentation Map integration Schenker AB Interface documentation Map integration Index 1 General information... 1 1.1 Getting started...1 1.2 Authentication...1 2 Website Map... 2 2.1 Information...2 2.2 Methods...2 2.3 Parameters...2

More information

COMS W3101: SCRIPTING LANGUAGES: JAVASCRIPT (FALL 2017)

COMS W3101: SCRIPTING LANGUAGES: JAVASCRIPT (FALL 2017) COMS W3101: SCRIPTING LANGUAGES: JAVASCRIPT (FALL 2017) RAMANA ISUKAPALLI RAMANA@CS.COLUMBIA.EDU 1 LECTURE-1 Course overview See http://www.cs.columbia.edu/~ramana Overview of HTML Formatting, headings,

More information

Place User-Defined Functions in the HEAD Section

Place User-Defined Functions in the HEAD Section JavaScript Functions Notes (Modified from: w3schools.com) A function is a block of code that will be executed when "someone" calls it. In JavaScript, we can define our own functions, called user-defined

More information

HTML & XHTML Tag Quick Reference

HTML & XHTML Tag Quick Reference HTML & XHTML Tag Quick Reference This reference notes some of the most commonly used HTML and XHTML tags. It is not, nor is it intended to be, a comprehensive list of available tags. Details regarding

More information

MCAD/MCSD Developing and Implementing Web Applications with Visual Basic.NET and Visual Studio.NET Training Guide: Exam

MCAD/MCSD Developing and Implementing Web Applications with Visual Basic.NET and Visual Studio.NET Training Guide: Exam MCAD/MCSD Developing and Implementing Web Applications with Visual Basic.NET and Visual Studio.NET Training Guide: Exam 70-305 Copyright 2003 by Que Publishing International Standard Book Number: 0789728184

More information

Client vs Server Scripting

Client vs Server Scripting Client vs Server Scripting PHP is a server side scripting method. Why might server side scripting not be a good idea? What is a solution? We could try having the user download scripts that run on their

More information

Authoring OpenStax Documents in Apache OpenOffice Writer *

Authoring OpenStax Documents in Apache OpenOffice Writer * OpenStax-CNX module: m60462 1 Authoring OpenStax Documents in Apache OpenOffice Writer * R.G. (Dick) Baldwin This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License

More information

isnan function returns true if the argument is not a number otherwise it is false.

isnan function returns true if the argument is not a number otherwise it is false. 1. What is JavaScript? JavaScript is a client-side as well as server side scripting language that can be inserted into HTML pages and is understood by web browsers. JavaScript is also an Object Oriented

More information

Notes General. IS 651: Distributed Systems 1

Notes General. IS 651: Distributed Systems 1 Notes General Discussion 1 and homework 1 are now graded. Grading is final one week after the deadline. Contract me before that if you find problem and want regrading. Minor syllabus change Moved chapter

More information

Java 2 Programmer Exam Cram 2

Java 2 Programmer Exam Cram 2 Java 2 Programmer Exam Cram 2 Copyright 2003 by Que Publishing International Standard Book Number: 0789728613 Warning and Disclaimer Every effort has been made to make this book as complete and as accurate

More information

XHTML. XHTML stands for EXtensible HyperText Markup Language. XHTML is the next generation of HTML. XHTML is almost identical to HTML 4.

XHTML. XHTML stands for EXtensible HyperText Markup Language. XHTML is the next generation of HTML. XHTML is almost identical to HTML 4. 3 XHTML What is XHTML? XHTML stands for EXtensible HyperText Markup Language XHTML is the next generation of HTML XHTML is aimed to replace HTML XHTML is almost identical to HTML 4.01 XHTML is a stricter

More information

Week 1 - Overview of HTML and Introduction to JavaScript

Week 1 - Overview of HTML and Introduction to JavaScript ITEC 136 Business Programming Concepts Week 1 Module 1: Overview of HTML and Course overview Agenda This week s expected outcomes This week s topics This week s homework Upcoming deadlines Questions and

More information

Html basics Course Outline

Html basics Course Outline Html basics Course Outline Description Learn the essential skills you will need to create your web pages with HTML. Topics include: adding text any hyperlinks, images and backgrounds, lists, tables, and

More information

How the Internet Works

How the Internet Works How the Internet Works The Internet is a network of millions of computers. Every computer on the Internet is connected to every other computer on the Internet through Internet Service Providers (ISPs).

More information

JavaScript: Introduction, Types

JavaScript: Introduction, Types JavaScript: Introduction, Types Computer Science and Engineering College of Engineering The Ohio State University Lecture 19 History Developed by Netscape "LiveScript", then renamed "JavaScript" Nothing

More information

Title: Sep 12 10:58 AM (1 of 38)

Title: Sep 12 10:58 AM (1 of 38) Title: Sep 12 10:58 AM (1 of 38) Title: Sep 12 11:04 AM (2 of 38) Title: Sep 12 5:37 PM (3 of 38) Click here and then you can put in the resources. Title: Sep 12 5:38 PM (4 of 38) Title: Sep 12 5:42 PM

More information

Basics of JavaScript. Last Week. Needs for Programming Capability. Browser as Development Platform. Using Client-side JavaScript. Origin of JavaScript

Basics of JavaScript. Last Week. Needs for Programming Capability. Browser as Development Platform. Using Client-side JavaScript. Origin of JavaScript Basics of JavaScript History of the Web XHTML CSS Last Week Nan Niu (nn@cs.toronto.edu) CSC309 -- Fall 2008 2 Needs for Programming Capability XHTML and CSS allows the browser to passively display static

More information

Mobile Site Development

Mobile Site Development Mobile Site Development HTML Basics What is HTML? Editors Elements Block Elements Attributes Make a new line using HTML Headers & Paragraphs Creating hyperlinks Using images Text Formatting Inline styling

More information

This course is designed for web developers that want to learn HTML5, CSS3, JavaScript and jquery.

This course is designed for web developers that want to learn HTML5, CSS3, JavaScript and jquery. HTML5/CSS3/JavaScript Programming Course Summary Description This class is designed for students that have experience with basic HTML concepts that wish to learn about HTML Version 5, Cascading Style Sheets

More information

CCNA Security Official Cert Guide First Edition. Copyright 2015 Cisco Systems, Inc. ISBN-10: ISBN-13:

CCNA Security Official Cert Guide First Edition. Copyright 2015 Cisco Systems, Inc. ISBN-10: ISBN-13: CCNA Security 210-260 Official Cert Guide First Edition Copyright 2015 Cisco Systems, Inc. ISBN-10: 1-58720-566-1 ISBN-13: 978-1-58720-566-8 Warning and Disclaimer Every effort has been made to make this

More information

LECTURE-2. Functions review HTML Forms. Arrays Exceptions Events. CS3101: Scripting Languages: Javascript Ramana Isukapalli

LECTURE-2. Functions review HTML Forms. Arrays Exceptions Events. CS3101: Scripting Languages: Javascript Ramana Isukapalli LECTURE-2 Functions review HTML Forms Arrays Exceptions Events 1 JAVASCRIPT FUNCTIONS, REVIEW Syntax function (params) { // code Note: Parameters do NOT have variable type. 1. Recall: Function

More information

Working with JavaScript

Working with JavaScript Working with JavaScript Creating a Programmable Web Page for North Pole Novelties 1 Objectives Introducing JavaScript Inserting JavaScript into a Web Page File Writing Output to the Web Page 2 Objectives

More information

HTML: The Basics & Block Elements

HTML: The Basics & Block Elements HTML: The Basics & Block Elements CISC 282 September 13, 2017 What is HTML? Hypertext Markup Language Markup language "Set of words or symbols" Assigns properties to text Not actually part of the text

More information

CERTIFICATE IN WEB PROGRAMMING

CERTIFICATE IN WEB PROGRAMMING COURSE DURATION: 6 MONTHS CONTENTS : CERTIFICATE IN WEB PROGRAMMING 1. PROGRAMMING IN C and C++ Language 2. HTML/CSS and JavaScript 3. PHP and MySQL 4. Project on Development of Web Application 1. PROGRAMMING

More information

Module 2 (III): XHTML

Module 2 (III): XHTML INTERNET & WEB APPLICATION DEVELOPMENT SWE 444 Fall Semester 2008-2009 (081) Module 2 (III): XHTML Dr. El-Sayed El-Alfy Computer Science Department King Fahd University of Petroleum and Minerals alfy@kfupm.edu.sa

More information

Duke Library Website Preliminary Accessibility Assessment

Duke Library Website Preliminary Accessibility Assessment Duke Library Website Preliminary Accessibility Assessment RAW OUTPUT FROM CYNTHIASAYS December 15, 2011 Michael Daul, Digital Projects Developer Digital Experience Services HiSoftware Cynthia Says - Web

More information

CSC309 Midterm Exam Summer 2007

CSC309 Midterm Exam Summer 2007 UNIVERSITY OF TORONTO Faculty of Arts and Science Midterm Exam July 2007 CSC 309 H1 F Instructor Dr. Radu Negulescu Duration 1 hour Examination Aids: One single-sided page containing notes NAME STUDENT

More information

Lecture 3: The Basics of JavaScript. Background. Needs for Programming Capability. Origin of JavaScript. Using Client-side JavaScript

Lecture 3: The Basics of JavaScript. Background. Needs for Programming Capability. Origin of JavaScript. Using Client-side JavaScript Lecture 3: The Basics of JavaScript Wendy Liu CSC309F Fall 2007 Background Origin and facts 1 2 Needs for Programming Capability XHTML and CSS allows the browser to passively display static content How

More information

Advanced HTML Scripting WebGUI Users Conference

Advanced HTML Scripting WebGUI Users Conference Advanced HTML Scripting 2004 WebGUI Users Conference XHTML where did that x come from? XHTML =? Extensible Hypertext Markup Language Combination of HTML and XML More strict than HTML Things to Remember

More information

A+ Exam Cram 2. Copyright 2003 by Que Publishing. International Standard Book Number: Warning and Disclaimer

A+ Exam Cram 2. Copyright 2003 by Que Publishing. International Standard Book Number: Warning and Disclaimer A+ Exam Cram 2 Copyright 2003 by Que Publishing International Standard Book Number: 0789728672 Warning and Disclaimer Every effort has been made to make this book as complete and as accurate as possible,

More information

Unit Notes. ICAWEB411A Produce basic client-side script for dynamic web pages Topic 1 Introduction to JavaScript

Unit Notes. ICAWEB411A Produce basic client-side script for dynamic web pages Topic 1 Introduction to JavaScript Unit Notes ICAWEB411A Produce basic client-side script for dynamic web pages Topic 1 Introduction to JavaScript Copyright, 2013 by TAFE NSW - North Coast Institute Date last saved: 18 September 2013 by

More information

Unobtrusive JavaScript (Sample Chapter)

Unobtrusive JavaScript (Sample Chapter) Unobtrusive JavaScript (Sample Chapter) Written by Christian Heilmann Version 1.0, July 2005-07-05 This document is copyright by Christian Heilmann and may not be fully or partly reproduced without consent

More information

JavaScript Specialist v2.0 Exam 1D0-735

JavaScript Specialist v2.0 Exam 1D0-735 JavaScript Specialist v2.0 Exam 1D0-735 Domain 1: Essential JavaScript Principles and Practices 1.1: Identify characteristics of JavaScript and common programming practices. 1.1.1: List key JavaScript

More information

Web Development & Design Foundations with HTML5 & CSS3 Instructor Materials Chapter 2 Test Bank

Web Development & Design Foundations with HTML5 & CSS3 Instructor Materials Chapter 2 Test Bank Multiple Choice. Choose the best answer. 1. What tag pair is used to create a new paragraph? a. b. c. d. 2. What tag pair

More information

HTML HTML/XHTML HTML / XHTML HTML HTML: XHTML: (extensible HTML) Loose syntax Few syntactic rules: not enforced by HTML processors.

HTML HTML/XHTML HTML / XHTML HTML HTML: XHTML: (extensible HTML) Loose syntax Few syntactic rules: not enforced by HTML processors. HTML HTML/XHTML HyperText Mark-up Language Basic language for WWW documents Format a web page s look, position graphics and multimedia elements Describe document structure and formatting Platform independent:

More information

XHTML & CSS CASCADING STYLE SHEETS

XHTML & CSS CASCADING STYLE SHEETS CASCADING STYLE SHEETS What is XHTML? XHTML stands for Extensible Hypertext Markup Language XHTML is aimed to replace HTML XHTML is almost identical to HTML 4.01 XHTML is a stricter and cleaner version

More information

Introduction to DHTML

Introduction to DHTML Introduction to DHTML HTML is based on thinking of a web page like a printed page: a document that is rendered once and that is static once rendered. The idea behind Dynamic HTML (DHTML), however, is to

More information

Varargs Training & Software Development Centre Private Limited, Module: HTML5, CSS3 & JavaScript

Varargs Training & Software Development Centre Private Limited, Module: HTML5, CSS3 & JavaScript PHP Curriculum Module: HTML5, CSS3 & JavaScript Introduction to the Web o Explain the evolution of HTML o Explain the page structure used by HTML o List the drawbacks in HTML 4 and XHTML o List the new

More information

1.264 Lecture 12. HTML Introduction to FrontPage

1.264 Lecture 12. HTML Introduction to FrontPage 1.264 Lecture 12 HTML Introduction to FrontPage HTML Subset of Structured Generalized Markup Language (SGML), a document description language SGML is ISO standard Current version of HTML is version 4.01

More information

Inline Elements Karl Kasischke WCC INP 150 Winter

Inline Elements Karl Kasischke WCC INP 150 Winter Inline Elements 2009 Karl Kasischke WCC INP 150 Winter 2009 1 Inline Elements Emphasizing Text Increasing / Decreasing Text Size Quotes and Citations Code, Variables, and Sample Output Spanning Text Subscripts

More information

COMS W3101: SCRIPTING LANGUAGES: JAVASCRIPT (FALL 2018)

COMS W3101: SCRIPTING LANGUAGES: JAVASCRIPT (FALL 2018) COMS W3101: SCRIPTING LANGUAGES: JAVASCRIPT (FALL 2018) RAMANA ISUKAPALLI RAMANA@CS.COLUMBIA.EDU 1 LECTURE-1 Course overview See http://www.cs.columbia.edu/~ramana Overview of HTML Formatting, headings,

More information

Advanced Web Programming C2. Basic Web Technologies

Advanced Web Programming C2. Basic Web Technologies Politehnica University of Timisoara Advanced Web Programming C2. Basic Web Technologies 2013 UPT-AC Assoc.Prof.Dr. Dan Pescaru HTML Originally developed by Tim Berners-Lee in 1990 at CERN (Conseil Européen

More information

HTML HTML. Chris Seddon CRS Enterprises Ltd 1

HTML HTML. Chris Seddon CRS Enterprises Ltd 1 Chris Seddon seddon-software@keme.co.uk 2000-12 CRS Enterprises Ltd 1 2000-12 CRS Enterprises Ltd 2 Reference Sites W3C W3C w3schools DevGuru Aptana GotAPI Dog http://www.w3.org/ http://www.w3schools.com

More information

Introduction to Web Development

Introduction to Web Development Introduction to Web Development Lecture 1 CGS 3066 Fall 2016 September 8, 2016 Why learn Web Development? Why learn Web Development? Reach Today, we have around 12.5 billion web enabled devices. Visual

More information

Such JavaScript Very Wow

Such JavaScript Very Wow Such JavaScript Very Wow Lecture 9 CGS 3066 Fall 2016 October 20, 2016 JavaScript Numbers JavaScript numbers can be written with, or without decimals. Extra large or extra small numbers can be written

More information

Programmazione Web a.a. 2017/2018 HTML5

Programmazione Web a.a. 2017/2018 HTML5 Programmazione Web a.a. 2017/2018 HTML5 PhD Ing.Antonino Raucea antonino.raucea@dieei.unict.it 1 Introduzione HTML HTML is the standard markup language for creating Web pages. HTML stands for Hyper Text

More information

Web Programming and Design. MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh

Web Programming and Design. MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh Web Programming and Design MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh Plan for the next 5 weeks: Introduction to HTML tags, creating our template file Introduction to CSS and style

More information

Functions. INFO/CSE 100, Spring 2006 Fluency in Information Technology.

Functions. INFO/CSE 100, Spring 2006 Fluency in Information Technology. Functions INFO/CSE 100, Spring 2006 Fluency in Information Technology http://www.cs.washington.edu/100 4/24/06 fit100-12-functions 1 Readings and References Reading» Fluency with Information Technology

More information

Introduction to using HTML to design webpages

Introduction to using HTML to design webpages Introduction to using HTML to design webpages #HTML is the script that web pages are written in. It describes the content and structure of a web page so that a browser is able to interpret and render the

More information

c122sep814.notebook September 08, 2014 All assignments should be sent to Backup please send a cc to this address

c122sep814.notebook September 08, 2014 All assignments should be sent to Backup please send a cc to this address All assignments should be sent to p.grocer@rcn.com Backup please send a cc to this address Note that I record classes and capture Smartboard notes. They are posted under audio and Smartboard under XHTML

More information

Styles, Style Sheets, the Box Model and Liquid Layout

Styles, Style Sheets, the Box Model and Liquid Layout Styles, Style Sheets, the Box Model and Liquid Layout This session will guide you through examples of how styles and Cascading Style Sheets (CSS) may be used in your Web pages to simplify maintenance of

More information

Manju Muralidharan Priya. CS4PM Web Aesthetics and Development WEEK 11

Manju Muralidharan Priya. CS4PM Web Aesthetics and Development WEEK 11 CS4PM Web Aesthetics and Development WEEK 11 Objective: Understand basics of JScript Outline: a. Basics of JScript Reading: Refer to w3schools websites and use the TRY IT YOURSELF editor and play with

More information

Produced by. App Development & Modeling. BSc in Applied Computing. Eamonn de Leastar

Produced by. App Development & Modeling. BSc in Applied Computing. Eamonn de Leastar App Development & Modeling BSc in Applied Computing Produced by Eamonn de Leastar (edeleastar@wit.ie) Department of Computing, Maths & Physics Waterford Institute of Technology http://www.wit.ie http://elearning.wit.ie

More information

JavaScript and XHTML. Prof. D. Krupesha, PESIT, Bangalore

JavaScript and XHTML. Prof. D. Krupesha, PESIT, Bangalore JavaScript and XHTML Prof. D. Krupesha, PESIT, Bangalore Why is JavaScript Important? It is simple and lots of scripts available in public domain and easy to use. It is used for client-side scripting.

More information

Beginning Web Programming with HTML, XHTML, and CSS. Second Edition. Jon Duckett

Beginning Web Programming with HTML, XHTML, and CSS. Second Edition. Jon Duckett Beginning Web Programming with HTML, XHTML, and CSS Second Edition Jon Duckett Beginning Web Programming with HTML, XHTML, and CSS Introduction............................................... xxiii Chapter

More information

Creating A Web Page. Computer Concepts I and II. Sue Norris

Creating A Web Page. Computer Concepts I and II. Sue Norris Creating A Web Page Computer Concepts I and II Sue Norris Agenda What is HTML HTML and XHTML Tags Required HTML and XHTML Tags Using Notepad to Create a Simple Web Page Viewing Your Web Page in a Browser

More information

Document Object Model. Overview

Document Object Model. Overview Overview The (DOM) is a programming interface for HTML or XML documents. Models document as a tree of nodes. Nodes can contain text and other nodes. Nodes can have attributes which include style and behavior

More information

Introduction to HTML5

Introduction to HTML5 Introduction to HTML5 History of HTML 1991 HTML first published 1995 1997 1999 2000 HTML 2.0 HTML 3.2 HTML 4.01 XHTML 1.0 After HTML 4.01 was released, focus shifted to XHTML and its stricter standards.

More information

Basics of Web Technologies

Basics of Web Technologies Dear Student, Based upon your enquiry we are pleased to send you the course curriculum for Web Designing Given below is the brief description for the course you are looking for: Introduction to Web Technologies

More information

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21 Table of Contents Chapter 1 Getting Started with HTML 5 1 Introduction to HTML 5... 2 New API... 2 New Structure... 3 New Markup Elements and Attributes... 3 New Form Elements and Attributes... 4 Geolocation...

More information

Time: 3 hours. Full Marks: 70. The figures in the margin indicate full marks. Answer from all the Groups as directed. Group A.

Time: 3 hours. Full Marks: 70. The figures in the margin indicate full marks. Answer from all the Groups as directed. Group A. COPYRIGHT RESERVED End SEM (V) MCA (XXX) 2017 Time: 3 hours Full Marks: 70 Candidates are required to give their answers in their own words as far as practicable. The figures in the margin indicate full

More information

OU EDUCATE TRAINING MANUAL

OU EDUCATE TRAINING MANUAL OU EDUCATE TRAINING MANUAL OmniUpdate Web Content Management System El Camino College Staff Development 310-660-3868 Course Topics: Section 1: OU Educate Overview and Login Section 2: The OmniUpdate Interface

More information

Advanced PHP Programming

Advanced PHP Programming Advanced PHP Programming Copyright 2004 by Sams Publishing International Standard Book Number: 0-672-32561-6 Warning and Disclaimer Every effort has been made to make this book as complete and as accurate

More information

Creating Web Pages with HTML-Level III Tutorials HTML 6.01

Creating Web Pages with HTML-Level III Tutorials HTML 6.01 Creating Web Pages with HTML-Levell Tutorials HTML 1.01 Tutorial 1 Developing a Basic Web Page Create a Web Page for Stephen DuM's Chemistry Classes Tutorial 2 Adding Hypertext Links to a Web Page Developing

More information

CHAPTER 6 JAVASCRIPT PART 1

CHAPTER 6 JAVASCRIPT PART 1 CHAPTER 6 JAVASCRIPT PART 1 1 OVERVIEW OF JAVASCRIPT JavaScript is an implementation of the ECMAScript language standard and is typically used to enable programmatic access to computational objects within

More information

jquery Tutorial for Beginners: Nothing But the Goods

jquery Tutorial for Beginners: Nothing But the Goods jquery Tutorial for Beginners: Nothing But the Goods Not too long ago I wrote an article for Six Revisions called Getting Started with jquery that covered some important things (concept-wise) that beginning

More information

A designers guide to creating & editing templates in EzPz

A designers guide to creating & editing templates in EzPz A designers guide to creating & editing templates in EzPz Introduction...2 Getting started...2 Actions...2 File Upload...3 Tokens...3 Menu...3 Head Tokens...4 CSS and JavaScript included files...4 Page

More information

GRAPHIC WEB DESIGNER PROGRAM

GRAPHIC WEB DESIGNER PROGRAM NH128 HTML Level 1 24 Total Hours COURSE TITLE: HTML Level 1 COURSE OVERVIEW: This course introduces web designers to the nuts and bolts of HTML (HyperText Markup Language), the programming language used

More information

Coding in JavaScript functions

Coding in JavaScript functions Coding in JavaScript functions A function contains code that will be executed by an event or by a call to the function. You may call a function from anywhere within a page (or even from other pages if

More information

3Lesson 3: Functions, Methods and Events in JavaScript Objectives

3Lesson 3: Functions, Methods and Events in JavaScript Objectives 3Lesson 3: Functions, Methods and Events in JavaScript Objectives By the end of this lesson, you will be able to: 1.3.1: Use methods as. 1.3.2: Define. 1.3.3: Use data type conversion methods. 1.3.4: Call.

More information

Tutorial 10: Programming with JavaScript

Tutorial 10: Programming with JavaScript Tutorial 10: Programming with JavaScript College of Computing & Information Technology King Abdulaziz University CPCS-665 Internet Technology Objectives Learn the history of JavaScript Create a script

More information

Javascript. UNIVERSITY OF MASSACHUSETTS AMHERST CMPSCI 120 Fall 2010

Javascript. UNIVERSITY OF MASSACHUSETTS AMHERST CMPSCI 120 Fall 2010 Lecture 14 Javascript Announcements Project #2 New website Exam#2 No. Class Date Subject and Handout(s) 17 11/4/10 Examination Review Practice Exam PDF 18 11/9/10 Search, Safety, Security Slides PDF UMass

More information

Lesson 1: Writing Your First JavaScript

Lesson 1: Writing Your First JavaScript JavaScript 101 1-1 Lesson 1: Writing Your First JavaScript OBJECTIVES: In this lesson you will be taught how to Use the tag Insert JavaScript code in a Web page Hide your JavaScript

More information

CSI 3140 WWW Structures, Techniques and Standards. Browsers and the DOM

CSI 3140 WWW Structures, Techniques and Standards. Browsers and the DOM CSI 3140 WWW Structures, Techniques and Standards Browsers and the DOM Overview The Document Object Model (DOM) is an API that allows programs to interact with HTML (or XML) documents In typical browsers,

More information

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application.

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application. Extra notes - Client-side Design and Development Dr Nick Hayward HTML - Basics A brief introduction to some of the basics of HTML. Contents Intro element add some metadata define a base address

More information

Red Hat Linux 8 Unleashed. Copyright 2003 by Sams Publishing. International Standard Book Number: X. Warning and Disclaimer

Red Hat Linux 8 Unleashed. Copyright 2003 by Sams Publishing. International Standard Book Number: X. Warning and Disclaimer Red Hat Linux 8 Unleashed Copyright 2003 by Sams Publishing International Standard Book Number: 067232458X Warning and Disclaimer Every effort has been made to make this book as complete and as accurate

More information

FIREFOX MENU REFERENCE This menu reference is available in a prettier format at

FIREFOX MENU REFERENCE This menu reference is available in a prettier format at FIREFOX MENU REFERENCE This menu reference is available in a prettier format at http://support.mozilla.com/en-us/kb/menu+reference FILE New Window New Tab Open Location Open File Close (Window) Close Tab

More information