Index
333_2384793_238479 bbindex.inddindex.indd 337373 44/10/08/10/08 9:50:149:50:14 PMPM 374 HTML, XHTML & CSS For Dummies, 6th Edition
headings href attribute ( element) browser display of, 72–74 for absolute links, 93 CSS styles for, 74, 144–145, 164–165 for fi le downloads, 101 elements for, 24, 72 for intradocument links, 99 font sizes for, 74 for mailto: links, 102 formatting, 72 for named locations, 99, 100 overview, 24 overview, 91 with tables, 204 for relative links, 94 uses for, 72 hspace attribute ( element), height attribute ( element), 114–115 110–111 .htm or .html suffi x, 35 “Hello World!” Letter example HTML editors code listing, 33 helpers, 348–350 editing the page, 37–39 previewing capabilities of, 29–30 planning, 31–32 text editors versus, 30 posting the page, 37–39 WYSIWYG, 350–351 saving the page, 34–35 element, 34, 61 viewing the page, 36–37 HTML Goodies site, 118, 365 writing HTML, 32–33 HTML (Hypertext Markup Language). See hexadecimal color codes, 158, 159–160 also XHTML; (X)HTML hidden fi elds, 257 as basis for Web pages, 10 “Hiding Your Email Address” (Chapman), 102 clock using, 278–279 Holden, Greg (Starting an Online Business For color coding in this book, 17 Dummies), 323 conventions in this book, 2–3 home page deprecated elements and attributes, 121, company site, 308, 309–311 157, 361–364 customizing template for your page, 311 in DHTML, 271 providing access from all areas of site, 49 DOCTYPE declaration, 60 home.html page, 308. See also home page DTDs, 358–360 HomeSite HTML editor, 348–349 importance of understanding, 334 h1 through h6 elements. See headings measurement values, 124 horizontal rules resources online, 364–366 attributes, 79–80 specifi cations for 4.01, 19 CSS for, 80 validating, 344 formatting, 79 XHTML versus, 16–17, 19
element for, 25, 78–80 HTML Link Validator, 354 uses for, 78, 80–81 HTML toolbox hosted e-commerce services, 323–324 collections, 356 hosting your site. See also Web servers fi nding good buys, 347 checking support for forms, 265 FTP clients, 356 costs of, 53 graphics tools, 351–353 domain name for, 53–54 HTML editors, 29–30, 348–351 fi nding a provider, 39 HTML validators, 355 host, defi ned, 51 link checkers, 353–354 hosting provider for, 53 HTML Toolbox (NetMechanic), 356 yourself, 52–53 HTML-Kit tools, 349–350, 355, 356 HotDog Pro WYSIWYG editor, 351 HTTP (Hypertext Transfer Protocol), 16 hover pseudo-class (CSS), 162–163 http:/, required for link URLs, 96
element, 25, 79–80. See also http-equiv attribute, 65–66 horizontal rules hyperlinks. See links href attribute. See also href attribute ( hypertext, 10–11 element) Hypertext Markup Language. See HTML element, 117 hyphen (-) instead of spaces in fi lenames, 35 element, 135
333_2384793_238479 bbindex.inddindex.indd 337474 44/10/08/10/08 9:50:149:50:14 PMPM Index 375
image maps using, 117–118 • I • for links in anchor tag, 115–116, 117 markup example, 107 icons in margins of this book, 6 src attribute, 20, 107 if statements (JavaScript), 235 triggering links, 115–116 if/else statements (JavaScript), 235–236 vspace attribute, 114–115 image maps, 117–118 width attribute, 110–111 image rollovers @import statement, 135 adding to page, 273–274 importing external style sheets (CSS), 135 button generator for, 272 indenting paragraphs using CSS, 169–170 code listings, 273, 274–275 index.html page, 308. See also home page preloader enhancement for, 274–275 inheritance (CSS), 131–132 states, 272, 273 inline elements, 71, 93. See also specifi c text rollovers versus, 275 elements image-editing tools inline event handlers (JavaScript), 245 creating borders using, 113 inline styles (CSS), 133, 135 fi nding hexadecimal color codes using, 160 element overview, 351–353 for check boxes, 255–256 images. See also element checked attribute, 256 alignment, 113–114 for fi le-upload fi elds, 257 alternative text for, 108–109, 116 for hidden fi elds, 257 for auction sites, 300, 302 maxlength attribute, 254 borders for, 112–113 name attribute, 253, 255 copyright issues, 106 for password fi elds, 254 fi le format information online, 105 for radio buttons, 255–256 fi le formats for, 104–105 for Reset buttons, 262, 263 graphics tools, 351–353 size attribute, 254 image maps, 116–118 src attribute, 263 as links, 115–118 for Submit buttons, 262, 263 logo for company site, 309 for text fi elds, 253–254 off-site, avoiding direct links to, 50 type attribute, 253, 254, 257, 262, 263 optimization tutorials, 104 value attribute, 255, 262, 263 in pop-up windows, JavaScript for, 218–219 input controls for forms relative links for, 106 check boxes, 255–256 role in Web pages, 103–104 drop-down lists, 258–260 rollovers, 272–275 fi le-upload fi elds, 257–258 scaling by browsers, 111–112 hidden fi elds, 257 site map for alternative accessibility, 46 multi-line text boxes, 261 size specifi cation for, 110–112 overview, 219–220 spacers for empty table cells, 194 password fi elds, 254–255 spacing for, 114–115 radio buttons, 255–256 storage location for, 106 Reset button, 261–263 turning small image into lines and boxes, Submit button, 261–263 110, 111 text fi elds, 253–254 Web-friendly, creating, 104–105 internal style sheets (CSS) wise use of, 333 adding to page, 133–134 element turning into external style sheets, 146–147 align attribute, 113–114 Internet connection for Web server, 52 alt attribute, 108 Internet resources border attribute, 112 About Me page by Ed Tittel, 298 described, 19 browser color display test page, 159 as empty element, 106 browsers list, 14 height attribute, 110–111 button generator, 272 hspace attribute, 114–115 CGI information, 264, 265
333_2384793_238479 bbindex.inddindex.indd 337575 44/10/08/10/08 9:50:149:50:14 PMPM 376 HTML, XHTML & CSS For Dummies, 6th Edition
Internet resources (continued) character codes, 361 • J • Citixxperience site, 45 Java versus JavaScript, 214 companion site for this book, 1 JavaScript CSE HTML Validator, Lite Edition, 340 for arranging content dynamically, 215–217 CSS documentation in iPod format, 153 arrays overview, 241–242 CSS reference, 125 basic syntax rules, 228–229 CSS specifi cations, 358 body scripts, 224 “CSS Structure and Rules” tutorial, 131 canned, limitations of, 223 CSS style sheet validation service, 129 clock examples using, 278–281 defi nition lists discussion, 89 color coding in this book, 17 deprecated elements and attributes, 361 components, 228 Dictionary of HTML META Tags, 66 CSS with, 122 DOM specifi cation, 245 data types overview, 231 DTDs, 360 deferring execution of, 246 For Dummies site, 47 defi ned, 213 FirstGov site, 11 in DHTML, 271 form handling scripts, 266 disabling for older browsers, 281 FTP client software, 55, 356 Document Object Model (DOM), 245–246 ghost sites, 338 events and event handling, 243–245 graphics formats information, 105 expression statements, 234 graphics tools, 352, 353 expressions, defi ned, 231 greeked text, 311 external fi le for, 225–227 hexadecimal color codes, 160 for form validation, 219–220, 264 “Hiding Your Email Address,” 102 functions overview, 239–241 HTML 4.01 specifi cations, 19 further information, 246, 264 HTML helper editors, 349, 350 header scripts, 224–225 HTML resource sites, 364–366 help for users with function turned off, 46 HTML utility collections, 356 for image rollovers, 272–275 HTML validators, 344, 355 including scripts in Web pages, 224–225 image map tutorials, 118 Java versus, 214 image optimization tutorials, 104 loops overview, 236–239 JavaScript information, 264 objects overview, 243 link checkers, 354 operators overview, 231–234 Lynx, 335 for pop-up windows, 218–219, 281–284 MOMspider link checker, 342 referencing an external fi le, 225–226
333_2384793_238479 bbindex.inddindex.indd 337676 44/10/08/10/08 9:50:149:50:14 PMPM Index 377
off-site, considerations for, 49–51 • L • opening pages in new window, 96–97 between pages of site, 94–95 language attribute (