dots per inch, 79 drag-and-drop, Scriptaculous, 490–492 drop-down navigation menus, 497 <dt> element, 574 dynsrc attribute, <img> element, 581 E e-mail addresses hiding, 497 testing for, 465 forms example, 477–482 linking to addresses, 56–57 E property, 444 editing, text, inserting, 46 editing text, deleting, 46–47 elements, 4 <a>, 6, 65 <abbr>, 31, 565 <acronym>, 31, 565 <address>, 35, 565 <applet>, 566, 704–705 <area>, 567 basefont>, 565 attributes, 6–7 <b>, 26, 568 <base>, 64–65, 568 <basefont>, 686–687 <bdo>, 568 <bgsound>, 569 <big>, 28, 569 <blink>, 569 block elements, 48–49 <blockquote>, 32, 569 <body>, 5, 11, 569–570 <br>, 21–22 <br />, 570 <button>, 153, 570 <caption>, 571 <center>, 571, 691–697 child, 5 <cite>, 33–34, 572 <code>, 34, 572 <col>, 572 <colgroup>, 130–132, 572–573 <comment>, 573 <dd>, 573 <del>, 46–47, 573 <dfn>, 32, 573 <dir>, 574, 701–702 <div>, 49–50, 574 <dl>, 39–40, 574 <dt>, 574 <em>, 30, 574 <embed>, 575, 705–706 empty elements, 21 <fieldset>, 171–173, 575 <font>, 48, 576, 683–685 <form>, 140, 576 <frame>, 195–197, 576–577 <frameset>, 186, 577–578 grouping, 49–50 <head>, 5, 10–11, 578 <hn>, 578 <hr />, 28, 579 <html>, 9–10, 579–580 <i>, 26–27, 580 IE-specific, 707–708 <iframe>, 580 <img>, 86, 580–582 inline elements, 48–49 <input type="button">, 582 <input type="checkbox">, 582–583 <input type="file”>, 583 <input type=”hidden”>, 584 <input type=”image”>, 584 <input type=”password”>, 585 <input type=”radio”>, 585–586 <input type=”reset”>, 586 <input type=”submit”>, 587 <input type=”text”>, 587–588 <ins>, 46, 588 inside another, 6 <isindex>, 588–589, 706–707 <kbd>, 34–35, 589 <keygen>, 589 <label>, 169–171, 589 <layer>, 589 <legend>, 171–173, 590 <li>, 574, 591, 593 <link>, 591 <listing>, 591, 688–689 <map>, 592 <marquee>, 592 <menu>, 593, 701–702 <meta>, 502, 593 <multicol>, 593 nesting, 6 Netscape-specific, 712 722 dots per inch 59313bindex.qxd:WroxPro 3/23/08 3:08 PM Page 722 <nextid>, 594 <nobr>, 594 <noembed>, 594 <noframes>, 186, 197–198, 577, 594 <nolayer>, 594 <noscript>, 408, 594 <object>, 93–94, 594 <ol>, 37–39, 596 <optgroup>, 596 <option>, 159, 597 <p>, 21, 597 <param>, 97–98, 567, 596, 597 parent, 5 <plaintext>, 597, 688–689 <pre>, 22–23, 597 <q>, 33, 598 <s>, 27, 598, 687 <samp>, 35, 598 <script>, 406, 598 <select>, 158–159, 598–599 <small>, 28, 599 <span>, 49–50, 599 <strike>, 27, 599, 687 <strong>, 30, 599 <style>, 599 <sub>, 28, 599 <sup>, 28, 599 <table>, 109, 600–601 tags, 4 comparison, 5 <tbody>, 126, 601 <td>, 601–602 <textarea>, 602–603 <tfoot>, 126, 603 <th>, 110, 604 <thead>, 126, 603 <title>, 11, 605 <tr>, 605 <tt>, 27, 606 <u>, 27, 606, 687–688 <ul>, 36–37, 606 <var>, 35, 606 <wbr>, 606 <xmp>, 606, 688–689 <em> element, 30, 574 em units, 250 <embed> element, 575, 705–706 emphasis, 30 empty-cells property, 292–294 empty elements, 21 enctype attribute, <form> element, 576 equal to (==) operator, 426 escaping characters, 463 events common events, 16 intrinsic, 435 onblur, 437 onchange, 437 ondblclick, 436 onfocus, 437 onkeydown, 436 onkeypress, 436 onkeyup, 436 onload, 436 onmousedown, 436 onmousemove, 436 onmouseout, 436 onmouseover, 436 onmouseup, 436 onreset, 437 onselect, 437 onsubmit, 437 onunload, 436 triggering, 407 UI events, 16 user events, 435 window events, 435 ex units, 250 exp( ) method, 445 expiring web pages, 505 explicit labels, 387 expressions, 414 external JavaScript, 409 F face attribute, 568, 576 Fetch, 521 fgcolor property (DOM), 413 fields (forms) auto-tabbing, 471–472 trimming spaces from beginning and end, 474–475 <fieldset> element, 171–173, 385, 575 file, size, 84–85 file select boxes, 164–165 filepath, 60 FireFTP, 521 first-letter pseudo class, 239–240 fixed( ) method, 438 723 fixed( ) method Index 59313bindex.qxd:WroxPro 3/23/08 3:08 PM Page 723 fixed positioning, 310–311 fixed-size fonts, screen resolution and, 369 fixed-width designs, 331, 335–336 Flash, 98–99, 535–536 Flash Player, files, 85 float property, 312–314 floating frames, 204–205 floor( ) method, 445, 485 flow, 17–18, 306 focus first form item, 470–471 <input> element, 296 tabbing order, 173–174 focus( ) method, 417, 449, 471–472, 475–476 :focus pseudo class, 296 folders, directory structure, 57 <font> element, 48, 576, 683–685 font-family property, 368 font test page, 240–243 fontcolor( ) method, 438 fonts CSS properties, 607–611 fixed-size, screen resolution and, 369 font-family property, 368 sans-serif, 367 serifs, 367 fontsize( ) method, 438 for attribute, <label> element, 589 for loops, 433, 434–435 <form> element, 140 attributes, 142–145, 576 creating forms, 141–145 methods, 417 onsubmit event handler, 454 properties, 416 white space and, 145 form-feed (f), 463 formatting align attribute, 692–693 <center> element, 691–697 text, 23–26 forms buttons, 150–152, 394 case conversion, 474 checkboxes, 154–155, 476–477 collecting data, 417–419 color, 395–396 controls, 139, 382 checkboxes, 383 <fieldset> elements, 385 grouping, 384–387 hidden, 165–166 labelling, 387–389 radio buttons, 383 relevant information and, 391–393 select boxes, 384 text boxes, 384 text inputs, 145–150 title attribute, 394–395 CSS and, 396–397 designing form controls, 382–384 group-related information, 381 information provided, 381 layout, 387–397 listing required information, 380–381 paper forms and, 381 e-mail example, 477–482 fields auto-tabbing, 471–472 trimming spaces from beginning and end, 474–475 file select boxes, 164–165 focus, first item, 470–471 introduction, 140–141 <legend> element, 385 name/value pairs, 141 numbering questions, 387 radio buttons, 156–157 registration form example, 166–169, 180–182 required information, 393 select boxes, 158–163 sending data to server, 178–179 site registration form example, 397–401 splitting into separate pages, 386 submission, preventing until checkbox selection, 469–470 submit button, 140 tab order of elements, 395 tables and, 389–391 testing, 397 text, 472–474 text area, selecting all content, 475–476 validation checkboxes, 468–469 checking text fields, 457–459 finding characters, 462–464 how, 456 preventing submission until checkbox selection, 469–470 724 fixed positioning 59313bindex.qxd:WroxPro 3/23/08 3:08 PM Page 724 radio buttons, 467–468 required text fields, 459–461 select box options, 464–465 testing characters, 464–465 when, 456 forms collection (DOM), 410–411, 415 forums, 530 forward( ) method, 449 forward slashes, 462 fragment identifiers, 61 framborder attribute, <frame> element, 577 frame attribute, 115–116 <table> element, 600 frame-based book viewer, 201–204 <frame> element, 194–195 attributes, 576–577 frameborder attribute, 193 <frame> element, 195 <frameset> element, 578 <iframe> element, 207, 580 frames, 185 DOCTYPE and, 187 floating, 204–205 inline, 204–205, 207–209 links between, 198–200 when to use, 188–189 frames property, 448 frameset, columns, 189–191 <frameset> element, 186 attributes, 189–194, 577–578 extensions, browser-specific, 192–194 Frameset XHTML, 8 framesets, 185, 200 framespacing attribute, 194, 578 FTP (File Transfer Protocol), uploading site and, 520–522 FTPX, 521 functions, 422 calling, 428 defining, 428 JavaScript, 407 return statements, 429 G generated content :after pseudo-element, 297–298 :before pseudo-element, 297–298 content property, 298 getDate( ) method, 442 getDay( ) method, 442 getFullYear( ) method, 442 getHours( ) method, 442 getMinutes( ) method, 442 getMonth( ) method, 442 getSeconds( ) method, 442 getTime( ) method, 442 getTimezoneOffset( ) method, 442 getUTCDate( ) method, 443 getUTCDay( ) method, 443 getUTCFullYear( ) method, 443 getUTCHours( ) method, 443 getUTCMilliseconds( ) method, 443 getUTCMinutes( ) method, 443 getUTCMonth( ) method, 443 getUTCSeconds( ) method, 443 getYear( ) method, 442 GIF (Graphics Interchange Format), 79–82 graphics, 77–79 graphics packages, 536 greater than (>) operator, 426 greater than or equal to (>=) operator, 426 grids, 109 grouping elements, 49–50 gutter attribute, <multicol> element, 593 H handleOther( ) function, 473 <head> element, 5, 10–11 attributes, 578 meta tags, 502 headers attribute, 602, 604 headings, 18–21 height attribute, 88–89, 96 <embed> element, 575 <iframe> element, 206, 580 <img> element, 581 <marquee> element, 592 <table> element, 600 <td> element, 602 <th> element, 604 height property, 419 hexadecimal codes, 638–639 color, 637–638 color names and, 640–641 color reference, 641–644 hidden attribute, <embed> element, 575 hidden controls, 165–166 history property, 448 725 history property Index 59313bindex.qxd:WroxPro 3/23/08 3:08 PM Page 725 <hn> elements, 18–19, 578 home( ) method, 449 home pages, designing, 345 host address, 60 hosting, 518 backups, 519 bandwidth, 519 choosing host, 519–520 country, 519 data centers, 519 dedicated, 520 disk space, 519 e-mail accounts, 519 shared, 520 statistical analysis, 526–527 statistics packages, 520 uptime, 520 hosting company, 501 <hr /> element, 28, 579 href attribute, 7 <a> element, 565 <area> element, 567 <base> element, 568 <link> element, 591 linking to documents, 54–56 hreflang attribute, 69, 565, 591 hspace attribute, 90, 96, 696–697 <embed> element, 575 <img> element, 581 <marquee> element, 592 <table> element, 600 hspace property, 419 <html> element, 9–10, 579–580 HTML (Hypertext Markup Language), 2 HTML validation, 509–512 http-equiv attribute, <meta> element, 593 HTTP headers, 505 HTTP (Hypertext Transfer Protocol), 59 hyperlinks. See links I <i> element, 26–27, 580 id attribute, 12–13, 564 <base> element, 568 <br /> element, 570 <comment> element, 573 <frame> element, 577 <head> element, 578 <hr /> element, 579 <html> element, 579 <isindex> element, 588 <keygen> element, 589 <marquee> element, 592 <param> element, 596 <title> element, 605 id selector, 244 if statements, 429–430 if else statements, 430 <iframe> element, 204–207, 580 image maps, 77, 100–105 image rollovers, 420–421, 482–483 images, 77 adding to documents, 92–93 background, text readability and, 366–367 background-image property, 277–278 bitmap, 78–79 as buttons, 152–153 formats, 78 GIF, 79 <img> element, 86 JPEG, 79 as links, 99–100, 375 list-style-image property, 286 PNG, 79 images collection (DOM), 410, 419–420 <img> element, 86–91, 581 implicit labels, 387 @import rule, 304–305 !important rule, 305 importing, styles, 304–305 increment (++) operator, 425 indexed color format, 79 indexOf( ) method, 438 infininte loops, 435 inline elements, 48–49 inline frames, 204–205, 207–209 input, forms, 145–150 text, disabling, 472–474 <input> element, 150–152, 296 <input type=”button”> element, attributes, 582 <input type=”checkbox”> element, attributes, 582–583 <input type=”file”> element, attributes, 583 <input type=”hidden”> element, attributes, 584 <input type=”image”> element, attributes, 584 <input type=”password”> element, attributes, 585 <input type=”radio”> element, attributes, 586 726 <hn> elements 59313bindex.qxd:WroxPro 3/23/08 3:08 PM Page 726 <input type=”reset”> element, attributes, 586 <input type=”submit”> element, attributes, 587 <input type=”text”> element, attributes, 587–588 <ins> element, 46, 588 inserting text, 46 internationalization attributes, 14–15 internationalization properties, 634–635 intrinsic events, 435 <isindex> element, 588–589, 706–707 ismap attribute, 90, 581 italic text, 26–27 italics( ) method, 439 J JavaScript breaking up code lines, 450 case-sensitivity, 449 comments, 408 conditional statements, 423 data types, 450–451 external, 409 files, external, 455 functions, 407, 422 keywords, 451 libraries, 487–488 animation, 488–490 auto-completing text, 495–496 calendars, 494–495 drag-and-drop, 490–492 sortable tables, 492–493 loops, 423 opening and closing symbols, 450 operators, 422, 424–425 arithmetic, 425 assignment, 425–426 Boolean, 427 comparison, 426 logical, 427 string, 427 scripts adding to pages, 406–408 folder, 455 special characters, 450 variables, 422 assigning values, 424 declaring, 423 lifetime, 424 rules, 423–424 when not to use, 496–497 write( ) method, 406 join( ) method, 447 JPEG (Joint Photographic Experts Group Format), 79 compression and, 82 K <kbd> element, 34–35, 589 keyboard, <kbd> element, 34–35 <keygen> element, attributes, 589 keywords JavaScript, 451 mailto, 56 L label attribute, 596, 597 <label> element, 169–171, 589 labels, controls, 169–171 Lang attribute, <comment> element, 573 lang attribute, 14–15, 564 <frame> element, 577 <head> element, 578 <html> element, 579 <isindex> element, 588 <meta> element, 593 <title> element, 605 language attribute, 598, 704 language codes, 665–668 lastIndexOf( ) method, 439 lastModified property (DOM), 413 <layer> element, attributes, 590 leading, 365 left attribute, <layer> element, 590 left navigation, 343 leftmargin attribute, <body> element, 570 <legend> element, 171–173, 385, 590 length property, 438, 458 lengths, CSS properties, 635 less than (<) operator, 426 less than or equal to (<=) operator, 426 <li> element, attributes, 574, 591, 593 libraries, JavaScript, 487–488 animation, 488–490 auto-completing text, 495–496 calendars, 494–495 drag-and-drop, 490–492 sortable tables, 492–493 727 libraries Index 59313bindex.qxd:WroxPro 3/23/08 3:08 PM Page 727 line breaks, 21–22 line height, readability and, 365–366 linefeed (n), 463 link( ) method, 439 link attribute, <body> element, 570 <link> element attributes, 591 CSS, 218–219 <head> element, 10 Link Valet tool, 513–514 linkColor property (DOM), 413 links, 53, 698–699 <a> element, 65 checking, 513–514 color, 274 CSS, 274–275 default files, 63 e-mail, 74–75 to e-mail addresses, 56–57 between frames, 198–200 images as, 99–100, 375 to other documents, 54–56 within pages, 71–74 parent directory, 63 from root, 63 same directory, 62 subdirectory, 62–63 text links, 375 links collection (DOM), 411 liquid designs, 331, 333–335 list-style-position property, 285–286 list-style property, 286 list-style-type property, 284–285 <listing> element, 591, 688–689 lists CSS properties, 623–625 definition, 39–40 list-style-image property, 286 list-style-position property, 285–286 list-style property, 286 list-style-type property, 284–285 marker-offset property, 287 nesting, 40–41 ordered, 37–39 start attribute, 699 type attribute, 700–701 unordered, 36–37 value attribute, 700 LN2 property, 444 LN10 property, 444 location property, 448 log( ) method, 445 LOG2E property, 445 LOG10E property, 445 logical operators, 427 longdesc attribute, 90–91 <frame> element, 197, 577 <iframe> element, 207, 580 <img> element, 581 loop attribute <bgsound> element, 569 <img> element, 581 <marquee> element, 592 looping statements, 432–435 loops, 423 lossless compression, 81 lossy compression, 81 lowersrc property, 419 lowsrc attribute, <img> element, 581 LZW compression, 81 M mailto, 56 <map> element, 592 marginheight attribute, 196 <frame> element, 577 <iframe> element, 207, 580 margins CSS properties, 622 white space and, 362 marginwidth attribute, 196 <frame> element, 577 <iframe> element, 207, 580 marker offset property, 287 markup languages, 2 <marquee> element, attributes, 592 matching strings, 462 math object, 445 max( ) method, 445 maxlength attribute <input type=”file”> element, 583 <input type=”password”> element, 585 <input type=”text”> element, 587 media attribute, <link> element, 591 <menu> element, 593, 701–702 menus consistency, 374 content, separation from, 370–372 focus, 370 728 line breaks 59313bindex.qxd:WroxPro 3/23/08 3:08 PM Page 728 grouping items, 373 icons, representing links, 372 loading, 374 navigation, drop-down, 497 readability, 372–373 selectability, 373–374 <meta> element, 502 attributes, 502, 593 author name, 507 character encoding, 507 content attribute, 503, 504, 505–508 cookies, setting, 507 expiring web pages, 505 <head> element, 10 http-equiv attribute, 505–508 name attribute, 503–505 rating web pages, 506–507 redirecting web pages, 506 refreshing web pages, 506 scheme attribute, 508 search engines and, 522–523 meta tags, <head> element and, 502 method attribute, <form> element, 576 methods, 405 abs( ), 445 acos( ), 445 alert( ), 449 anchor( ), 438 arguments, 414 asin( ), 445 atan( ), 445 atan2( ), 445 back( ), 449 big( ), 438 blur( ), 417, 449 bold( ), 438 ceil( ), 445 charAt( ), 438 click( ), 417 close( ), 449 concat( ), 447 confirm( ), 449 cos( ), 445 date( ), 442 DOM, 410, 414 exp( ), 445 fixed( ), 438 floor( ), 445, 485 focus( ), 417, 449, 471–472, 475–476 fontcolor( ), 438 fontsize( ), 438 forward( ), 449 getDate( ), 442 getDay( ), 442 getFullYear( ), 442 getHours( ), 442 getMinutes( ), 442 getMonth( ), 442 getSeconds( ), 442 getTime( ), 442 getTimezoneOffset( ), 442 getUTCDate( ), 443 getUTCDay( ), 443 getUTCFullYear( ), 443 getUTCHours( ), 443 getUTCMilliseconds( ), 443 getUTCMinutes( ), 443 getUTCMonth( ), 443 getUTCSeconds( ), 443 getYear( ), 442 home( ), 449 indexOf( ), 438 italics( ), 439 join( ), 447 lastIndexOf( ), 439 link( ), 439 log( ), 445 max( ), 445 min( ), 445 moveBy( ), 449 moveTo( ), 449 open( ), 449 parameters, 414 parse( ), 442 pow( ), 445 print( ), 449 prompt( ), 449 random( ), 445, 485 replace( ), 462 reset( ), 415 reverse( ), 447 round( ), 445, 485 select( ), 417, 475–476 setDate( ), 443 setFullYear( ), 443 setHours( ), 443 setMinutes( ), 443 setMonth( ), 443 setSeconds( ), 443 setTime( ), 443 729 methods Index 59313bindex.qxd:WroxPro 3/23/08 3:08 PM Page 729 methods (continued) setUTCDate( ), 443 setUTCDay( ), 444 setUTCFullYear( ), 444 setUTCHour( ), 444 setUTCMilliseconds( ), 444 setUTCMinutes( ), 444 setUTCMonth( ), 444 setUTCSeconds( ), 444 setYear( ), 443 sin( ), 445 slice( ), 447 small( ), 439 sort( ), 447 sqrt( ), 445 stop( ), 449 strike( ), 439 sub( ), 439 submit( ), 415 substr( ), 439 substring( ), 439, 474–475 sup( ), 439 tan( ), 445 test( ), 464 toGMTString( ), 443 toLocalString( ), 443 toLowerCase( ), 439, 474 toString( ), 443 toUpperCase( ), 439, 474 methods (JavaScript), write( ), 406 MIME media types application, 674–679 audio, 672–673 image, 671 message, 674 model, 674 multipart, 672 text, 670–671 video, 673 min( ) method, 445 MochiKit, 492–493 modularized style sheets, 304–305 modulus, division remainder (%) operator, 425 monospaced font, 27 moveBy( ) method, 449 moveTo( ) method, 449 <multicol> element, attributes, 593 multiple attribute, <select> element, 598 multiple-line text input controls, 148–150 multiplication (*) operator, 425 N name attribute, 91, 96, 97 <area> element, 567 <button> element, 571 <embed> element, 575 <frame> element, 195 <img> element, 581 <input type=”button”> element, 582 <input type=”checkbox”> element, 582 <input type=”file”> element, 583 <input type=”hidden”> element, 584 <input type=”image”> element, 584 <input type=”password”> element, 585 <input type=”radio”> element, 586 <input type=”submit”> element, 587 <input type=”text”> element, 587 <keygen> element, 589 <layer> element, 590 <meta> element, 593 <param> element, 567, 596 <select> element, 599 name property, 419, 448 name/value pairs, 141 namespace identifier, 10 navigation, 342–343 bottom, 344 left, 343 menus, 369–374 right, 345 top, 343 top and left, 344 nesting framesets, 200 lists, 40–41 tables, 356–359 nesting elements, 6 <nextid> element, 594 <nobr> element, 594 <noembed> element, 594 <noframes> element, 186, 197–198, 577, 594 nohref attribute, <area> element, 567 <nolayer> element, 594 non-digit (D), 463 non-white-space character (S), 463 non-word character (W), 463 noresize attribute, 196, 577 normal flow, 306 <noscript> element, 408, 594 noshade attribute, <hr /> element, 579 730 methods (continued) 59313bindex.qxd:WroxPro 3/23/08 3:08 PM Page 730 not equal to (!=) operator, 426 notab attribute <area> element, 567 <input type=”button”> element, 582 <input type=”checkbox”> element, 583 <input type=”file”> element, 583 <input type=”image”> element, 584 <input type=”password”> element, 585 <input type=”radio”> element, 586 <input type=”reset”> element, 586 <input type=”submit”> element, 587 <input type=”text”> element, 587 nowrap attribute, 703 <div> element, 574 <table> element, 600 <td> element, 602 <th> element, 604 <tr> element, 605 null data types, 451 number data types, 451 numbers, ordered lists, 38–39 O <object> element, 10, 93–97 objects built-in, 422 string object, 437–439 custom, 422 W3C DOM, 422 <ol> element, 37–39, 596 onabort attribute, <img> element, 581 onblur attribute <button> element, 571 <frameset> element, 578 <input type=”file”> element, 583 <input type=”password”> element, 585 <input type=”text”> element, 587 <label> element, 589 <select> element, 599 onblur event, 437 onchange attribute <input type=”file”> element, 583 <input type=”password”> element, 585 <input type=”text”> element, 587 <select> element, 599 onchange event, 437 onclick attribute, 564 onclick event, 436 ondblclick attribute, 564 ondblclick event, 436 onerror attribute, <img> element, 581 onfocus attribute <button> element, 571 <input type=”file”> element, 583 <input type=”password”> element, 585 <input type=”text”> element, 587 <label> element, 589 <select> element, 599 onfocus event, 437 onkeydown attribute, 564 onkeydown event, 436 onkeypress attribute, 564 onkeypress event, 436 onkeyup attribute, 564 onkeyup event, 436, 471 onload attribute <body> element, 570 <frameset> element, 578 <img> element, 581 onload event, 436, 471 onmousedown attribute, 564 onmousedown event, 436 onmousemove attribute, 564 onmousemove event, 436 onmouseout attribute, 564 onmouseout event, 436 onmouseover attribute, 564 onmouseover event, 436 onmouseup attribute, 564 onmouseup event, 436 onreset attribute, <form> element, 576 onreset event, 437 onselect attribute <input type=”password”> element, 585 <input type=”text”> element, 588 onselect event, 437 onsubmit attribute, <form> element, 576 onsubmit event, 437 onsubmit event handler, 454 onunload attribute <body> element, 570 <frameset> element, 578 onunload event, 436 open( ) method, 449 opening tags, 4 operators, 422, 424–425 arithmetic, 425 assignment, 425–426 binary, 424 731 operators Index 59313bindex.qxd:WroxPro 3/23/08 3:08 PM Page 731 [...]... element, 592 element, 601 vspace property, 420 W element, 606 W3C DOM objects, 422 web hosting, 518 web marketing, 525–526 web pages, 505–507 web site aims, 324–325 categorization, 327–328 content, defining, 326–327 grouping, 327–328 new content, 326 site map, creating, 328–329 uploading, FTP and, 520–522 version control, 527–529 visitors, 325–326 while loops, 432, 433 white space, 17–18,... Every diagram, description, screen capture, and code sample is available with your subscription to the Wrox Reference Library For answers when and where you need them, go to wrox.books24x7.com and subscribe today! Find books on • • • • • • • ASP.NET C#/C++ Database General Java Mac Microsoft Office • • • • • • • NET Open Source PHP/MySQL SQL Server Visual Basic Web XML www.wrox.com ... text-decoration property, 274 Q element, 33, 598 queries, 376 Query String, 61 quotation marks, 300 quotes, 32, 33 R radio buttons, 156–157, 383 validation and, 467–468 random( ) method, 445, 485 random script generator, 485–486 rating label, 506 rating web pages, 506–507 733 Index 59313bindex.qxd:WroxPro 59313bindex.qxd:WroxPro 3/23/08 3:08 PM Page 734 read-only controls read-only controls, 176–177 readonly... 31 alignment, readability and, 365 auto-completing, 495–496 background images and, 366–367 bold, 26 case conversion, 474 columns, width, 366 CSS properties, 611–614 editing, 45–46 3/23/08 3:08 PM Page 737 validating forms emphasized, 30 fonts, 367–368 formatting, 23–26 forms, disabling input, 472–474 input, forms, 145–150 italic, 26–27 keyboard, 34–35 line height, readability and, 365–366 markup, 41–45... content, 326 sacrificial columns, 354–355 single-column, 348–350 site map, creating, 328–329 structuring pages, 346–347 element and, 334 tables, nested, 356–359 three-column layouts, 353–354 two-column, 350–352 visitors and, 325–326 width, 331 page size, screen resolution and, 330 732 palette attribute, element, 575 paragraphs, 21 element, 567, 597 attributes, 97–98, 567, 596 parameters,... element, 581 element, 584 element, 590 element, 598 src property, 419 standby attribute, 96 start attribute element, 581 lists, 699 element, 596 statistical analysis, 526–527 status property, 448 statusbar property, 448 stop( ) method, 449 Strict XHTML, 8 strike( ) method, 439 element, 27, 599, 687 strikethrough text, 27 string data types, 451... property, 296 outline-style property, 295 outline-width property, 295 P element, 21, 597 padding CSS properties, 622–623 white space and, 362 page layout above the fold, 331 aims of site, 324–325 categorization, 327–328 content, defining, 326–327 content pages, 345–346 CSS and, 356 elements, 329–330, 340–342 fixed-width designs, 331, 335–336 grouping, 327–328 home pages, 345 liquid designs, 331, 333–335... 600–601 introduction, 109 page layout and, 334 table-layout property, 294 tables body, 125–128 cells, 109 columns, 109, 128–132 CSS, 287–294 CSS properties, 630–632 foot, 125–128 forms, 389–391 heads, 125–128 introduction, 109–112 linearization, 132–136 nested, 356–359 nowrap attribute, 703 rows, 109 shading multiple, 378–379 spanning, 129–130 sortable, MochiKit and, 492–493 taborder attribute element, 583 element, 584 element, 585 element, 586 element, 588 redirecting web pages, 506 referrer property (DOM), 413 refreshing web pages, 506 registration form example, 166–169, 180–182 Regular Expressions, 462 characters, 463 testing characters, 464–465 testing for, 465 rel attribute, 69–70 element,... attribute, element, 590 top navigation, 343 top property, 448 topmargin attribute, element, 570 toString( ) method, 443 toUpperCase( ) method, 439, 474 element, 117–118, 605 Transitional XHTML, 8 Transmit, 521 transparent background, 81 element, 27, 606 two-column layouts, 350–352 type attribute, 71, 98 element, 565 element, 571 element, 575 element, 574, . 383 validation and, 467–468 random( ) method, 445, 485 random script generator, 485–486 rating label, 506 rating web pages, 506–507 733 rating web pages Index 59313bindex.qxd:WroxPro. 420 W <wbr> element, 606 W3C DOM objects, 422 web hosting, 518 web marketing, 525–526 web pages, 505–507 web site aims, 324–325 categorization, 327–328 content,