Creating Cool Web Sites with HTML, XHTML, and CSS- P10

Chia sẻ: Thanh Cong | Ngày: | Loại File: PDF | Số trang:4

0
72
lượt xem
23
download

Creating Cool Web Sites with HTML, XHTML, and CSS- P10

Mô tả tài liệu
  Download Vui lòng tải xuống để xem tài liệu đầy đủ

Creating Cool Web Sites with HTML, XHTML, and CSS- P10: This book walks readers through the process of creating a basic Web site from scratch using HMTL, the basis for billions of Web pages, and then jazzing it up with advanced techniques from the author’s award-winning sites. This updated edition features new material that shows readers how to attract visitors to a site and keep them there, including new JavaScript examples and coverage of cascading style sheets and XHTML, technologies that make building successful Web sites even easier...

Chủ đề:
Lưu

Nội dung Text: Creating Cool Web Sites with HTML, XHTML, and CSS- P10

  1. 402 Index text, boldface, 45 examples of, 13–14 helping readers navigate with, 44 format of, 13–14, 17 with CSS, 66 for FTP, 13, 14 text alignment, adjusting with CSS, 74–75 fully qualified, 94, 108 text decorations, producing with CSS, 75 interpretation of relative, 108–109 text editor, 27, 104 invention of, 12–13 using to create Web pages, 28–30 limitations of, 16 text styles, HTML, 43. See also Cascading Style port numbers in, 15 Sheets (CSS) purpose of, 12 combining, 47, 48 relative, 94, 108–109, 112 in CSS, 72–76 resolution of, 108 history of, 44 spaces within, 16 meanings of, 44 special characters in, 16–17 specifying, with CSS, 66–67 special URLs, 17 (text input box) tag, 198, 202–203 for Telnet, 17 text-based advertisements, 367–369 for Usenet groups, 14, 18 TextEdit, 27. See also text editor for Web pages (hypertext), 18–19 (table head) tag, 163–164 underlined text, 46 thumbnail images, 142 with CSS, 75 tiling background images, using CSS for, 137 unrecognized HTML tags, 22–23 time, current URI, 337 obtaining using JavaScript, 248–251 URL (Uniform Resource Locator), 7) obtaining using Perl, 212 absolute, 108 (document title) tag, 34–35 case sensitivity of, 16 (table row) tag, 160 for e-mail, 17 trademark character, creating with CSS, 75 examples of, 13–14 transparent GIF, 123, 147–148 format of, 13–14, 17 (monospace text) tag, 46, 53, 67 for FTP, 13, 14 .txt files fully qualified, 94, 108 default extension used by NotePad, 30 interpretation of relative, 108–109 displayed in Web browser, 23, 30 invention of, 12–13 typefaces, 27, 67 limitations of, 16 monospace, 27 port numbers in, 15 proportional, 27 purpose of, 12 specifying, in HTML documents, 50 relative, 94, 108–109, 112 TypePad hosted weblog, 294 resolution of, 108 spaces within, 16 U special characters in, 16–17 (underlined text) tag, 46 special URLs, 17 (unordered list) tag, 85 for Telnet, 17 redefining, with CSS, 86–87, 94–96 for Usenet groups, 14, 18 style attributes for, CSS, 94, 96 for Web pages (hypertext), 18–19 type attribute of, 93 usability of a Web site, improving. See also the Uniform Resource Locator (URL), 7. See also following entry (anchor) tag through careful use of color, 329–330 absolute, 108 through careful use of text and graphics, case sensitivity of, 16 328–329 for e-mail, 17 for color-blind individuals, 330
  2. Index 403 through consistent layout across pages, cookies, 333–334 326–328 default presentation settings of, 85 by grouping information, 326 Internet Explorer (Microsoft), 8, 9 by minimizing amount of information interpretation of HTML by, 21–23, 29, 33 presented to the viewer, 324–325 Lynx, 127–128 as a process, 333 Mozilla, 9 usability rules followed or violated Netscape, 9 at AOL’s Web site, 324 non-CSS-compatible, 65 at Firstgov.gov Web site, 326–327 text-based, 127–128 at Google’s Web site, 324 transferring files with, 7–8, 14–16 at Intuitive Systems’s Web site, 331 Web crawlers at the MSN Web site, 324 assisting, to index your Web site, 352–358 at Open Directory Project Web site, 332 preventing, from indexing your Web site, at the U.S. Internal Revenue Service Web site, 358–360 324, 326 used by spammers, 360 at the U.S. Social Security Administration Web Web files. See also (anchor) tag; Cascading Style site, 325, 326 Sheets (CSS); CGI scripts at the Yahoo! Web site, 324, 330, 332 alignment of images in, controlling, 128–134 Usenet newsgroups alignment of tables in, controlling, 161, accessing, 18 164–165, 180–181 special URL format for, 14, 18 audio in, 153–155 user’s Web browser, ascertaining, 213, 241–243 background colors and graphics in, 136 capitalization in, controlling with CSS, 76 V character entities in, 96–99 validation character set (charset) of, 337 of CSS style sheets, 344–347 coding, for non-CSS-compatible browsers of HTML form data, 251–253 comments in, 65, 99–100 of HTML pages, 337–341 consistent coding style for, 26, 34 medallions, 340–341 colors in, controlling, 119–120 of RSS feeds, 305–306 creating with a text editor, 28–30 of WML pages, 347–349 designing, for non-frames-capable browsers, of XHTML pages, 341–344 186–188 (variable) tag, 53 DOCTYPE declaration in, 336 video clips in Web pages, 154 and the Document Object Model (DOM), 244 video files dynamically generated by CGI scripts, MPEG (Motion Picture Experts Group), 154 210–211 QuickTime, 154 example of, 54 view, of Web page, 365. See also advertisements on finding/creating images for, 140–147 Web pages font styles in, 49–52 Visual Basic Script (VBScript), 255–256 foreign characters (diacritical marks) in, 96–98 forms in, basics of, 196–203 W frames in, basics of, 181–183 WAP Forum, the, 349 with graphics, design philosophies for, 127 WAV files, 153 image-mapped graphics in, 149–153 Web browser(s), 8 including copyrighted material in, 143, 146, ascertaining the user’s, 213, 241–243 147, 153 Camino, 8 including images in, 123–127 compatibility of (with Web site), 213, 241–243 Continued
  3. 404 Index Web files (continued) Web rings, 363–364 integration of links and text in, 107 Web servers, 18–19 kerning in, using CSS, 72 Web site access lists keyboard shortcuts in, 230 for restricting visibility of directories, 313–316 leading in, adjusting with CSS, 73–74 for restricting Web crawlers and robots, letter spacing in, adjusting with CSS, 72 358–360 line spacing in, adjusting with CSS, 73–74 Web site feedback, 198–200 links in, 103–108, 114–119 Web site planning logical styles for, 52 announcing your Web page, 378 multimedia in, 153–155 building pages in, 375–376 navigation of, 44, 117, 330–333 conceptualization for, 373–375 organizing, in a Web site, 109–112, 113 loading files onto Web and, 377–378 preamble of, 211 testing and, 377 rendering of, by Web browser, 29 Web site usability rules followed or violated by section heads in, defining 37–39 AOL, 324 sections of, 32–34 Firstgov.gov, 326–327 small capitals in, using CSS, 71–72 Google, 324 tables in, basics of, 159–165 Intuitive Systems, 331 testing, 23, 31–32, 39, 85, 117, 377–378 MSN, 324 text decorations in, using CSS, 75 Open Directory Project, 332 text styles in, 44–49 U.S. Internal Revenue Service, 324, 326 titling of, 34–35 U.S. Social Security Administration, 325, 326 user input from, 196–198 Yahoo!, 324, 330, 332 using digital photographs in, 144–145 Web site(s). See also presence providers using tables for layout of, 174–176 for ActiveX, 258 video in, 153–155 AdWords, 367 word spacing in, adjusting with CSS, 73 AltaVista, 363 Web hosting options, 379–383 Art Today, 141, 146 assessing, 379–380 for audio files and software, 153–154, 154–155 Web page scripting. See CGI scripts; JavaScript; Perl banner advertisements on, 364–366 programming language; scripting solutions, content rating of, with PICS, 356–358 alternate crawler-friendly, making your, 352–356 Web pages, 30. See also HTML documents for Creating Cool Web Sites (Taylor), 9, 76 character set of, 337 design process, 373–378 gathering, into frames, 181–183 directories and indexes of, 360–363 index.html, 19 DMOZ (Open Directory Project), 361 on mobile devices, 347–349 for document object models, 280 titling of, 34–35 effective use of color in, 329–330 Web pages, advertisements on Etymologic.com, 208, 216 banner, 364–366 for GIF tools, 149 charges for placing, 365, 367 Google, 362 interstitial, 222 GraphicConverter, 123, 140 text-based, 367–369 for graphics and images, 147 Web pages, dynamically generated for graphics software packages, 123 examples of, 211–213, 321–322 for the Gutenberg Bible, 44 and security issues, 216 ht://Dig search engine, 332 using CGI scripts, 210–211 for image map editors, 149 using server-side includes, 316 including a search engine in, 206–208, 332
  4. Index 405 Internet Advertising Bureau (IAB), 366 width of CSS container, 271 Intuitive Systems (intuitive.com), 311–313 window motion and resizing, detecting. See browser for Java, 257 events, Web page code for handling of Jill Whalen, 369 Windows 95/98/2000/XP, 8–9 of Karen Kenworthy, 333 Wireless Application Protocol (WAP), 348 Lycos, 362–363 Wireless Markup Language (WML), 347–349 for Macromedia Flash, 259 emulator, 348 navigating, 44, 117, 330–333 W3C (World Wide Web Consortium) validation Open Directory Project, 361 of CSS style sheets, 344–347 organizing files of a, 109–112, 113, 309–313 of HTML form data, 251–253 Paint Shop Pro, 123, 140 of HTML pages, 337–341 for Perl, 216 medallions, 340–341 for the PICS system, 358 of XHTML pages, 341–344 protecting files of a, 313–316 word spacing, adjusting with CSS, 73 publicizing, 369 World Wide Web (WWW) Real Corporation, 154 explained, 3–8 for RSS, 306 FTP file transfer via the, 7–8, 14–16 for RSS validation, 305 information services available on, 5–8 on scanners and scanning, 143 World Wide Web Consortium (W3C) validation The Shock Zone, 146 of CSS style sheets, 344–347 testing, 23, 31–32, 39, 85, 117, 377–378 of HTML pages, 337–341 text-based advertisements on, 367–369 medallions, 340–341 for this book, 9, 76 of XHTML pages, 341–344 usability of, factors influencing, 323–330 WWW. See World Wide Web using server-side includes to organize, 316–321 X for video files and software, 154–155 XHTML for VBScript, 256 and HTML, 41 for WAP and WML, 349 lowercasing of tags in, 25, 41 for XSLT, 259 unpaired tags in, formatting of 25, 41 Yahoo!, 361 XML (eXtensible Markup Language), 41 weblogs and RSS, 301, 303 adding entries to, 300–301 XSLT (eXtensible Stylesheet Language blogspam on, 298 Transformations), 258–259 configuring, 298–300 as content management systems, 293–296 Y hosted, 294 Yahoo!, 361 installing, 297–298 RSS data stream from, 301 Z z-index (depth value) attribute (of CSS container), “serve your own,” 294 286–290 Wham shareware audio file editor, 154 Wicked Cool Shell Scripts (Taylor), 376
Đồng bộ tài khoản