- •Taking Your Talent to the Web
- •Introduction
- •1 Splash Screen
- •Meet the Medium
- •Expanding Horizons
- •Working the Net…Without a Net
- •Smash Your Altars
- •Breath Mint? Or Candy Mint?
- •Where’s the Map?
- •Mars and Venus
- •Web Physics: Action and Interaction
- •Different Purposes, Different Methodologies
- •Web Agnosticism
- •Point #1: The Web Is Platform-Agnostic
- •Point #2: The Web Is Device-Independent
- •The 18-Month Pregnancy
- •Chocolatey Web Goodness
- •’Tis a Gift to Be Simple
- •Democracy, What a Concept
- •Instant Karma
- •The Whole World in Your Hands
- •Just Do It: The Web as Human Activity
- •The Viewer Rules
- •Multimedia: All Talking! All Dancing!
- •The Server Knows
- •It’s the Bandwidth, Stupid
- •Web Pages Have No Secrets
- •The Web Is for Everyone!
- •Swap text and code for images
- •Prune redundancy
- •Cache as Cache Can
- •Much Ado About 5K
- •Screening Room
- •Liquid Design
- •Color My Web
- •Thousands Weep
- •Gamma Gamma Hey!
- •Typography
- •The 97% Solution
- •Points of Distinction
- •Year 2000—Browsers to the Rescue
- •Touch Factor
- •Appropriate Graphic Design
- •User Knowledge
- •What Color Is Your Concept?
- •Business as (Cruel and) Usual
- •The Rise of the Interface Department
- •Form and Function
- •Copycats and Pseudo-Scientists
- •Chaos and Clarity
- •A Design Koan: Interfaces Are a Means too Often Mistaken for an End
- •Universal Body Copy and Other Fictions
- •Interface as Architecture
- •Ten (Okay, Three) Points of Light
- •Be Easily Learned
- •Remain Consistent
- •Continually Provide Feedback
- •GUI, GUI, Chewy, Chewy
- •It’s the Browser, Stupid
- •Clarity Begins at Home (Page)
- •I Think Icon, I Think Icon
- •Structural Labels: Folding the Director’s Chair
- •The Soul of Brevity
- •Hypertext or Hapless Text
- •Scrolling and Clicking Along
- •Stock Options (Providing Alternatives)
- •The So-Called Rule of Five
- •Highlights and Breadcrumbs
- •Consistent Placement
- •Brand That Sucker!
- •Why We Mentioned These Things
- •The year web standards broke, 1
- •The year web standards broke, 2
- •The year web standards broke, 3
- •The year the bubble burst
- •5 The Obligatory Glossary
- •Web Lingo
- •Extranet
- •HTML
- •Hypertext, hyperlinks, and links
- •Internet
- •Intranet
- •JavaScript, ECMAScript, CSS, XML, XHTML, DOM
- •Web page
- •Website
- •Additional terminology
- •Web developer/programmer
- •Project manager
- •Systems administrator (sysadmin) and network administrator (netadmin)
- •Web technician
- •Your Role in the Web
- •Look and feel
- •Business-to-business
- •Business-to-consumer
- •Solve Communication Problems
- •Brand identity
- •Restrictions of the Medium
- •Technology
- •Works with team members
- •Visually and emotionally engaging
- •Easy to navigate
- •Compatible with visitors’ needs
- •Accessible to a wide variety of web browsers and other devices
- •Can You Handle It?
- •What Is the Life Cycle?
- •Why Have a Method?
- •We Never Forget a Phase
- •Analysis (or “Talking to the Client”)
- •The early phase
- •Design
- •Brainstorm and problem solve
- •Translate needs into solutions
- •Sell ideas to the client
- •Identify color comps
- •Create color comps/proof of concept
- •Present color comps and proof of concept
- •Receive design approval
- •Development
- •Create all color comps
- •Communicate functionality
- •Work with templates
- •Design for easy maintenance
- •Testing
- •Deployment
- •The updating game
- •Create and provide documentation and style guides
- •Provide client training
- •Learn about your client’s methods
- •Work the Process
- •Code Wars
- •Table Talk
- •XHTML Marks the Spot
- •Minding Your <p>’s and q’s
- •Looking Ahead
- •Getting Started
- •View Source
- •A Netscape Bonus
- •The Mother of All View Source Tricks
- •Doin’ it in Netscape
- •Doin’ it in Internet Explorer
- •Absolutely Speaking, It’s All Relative
- •What Is Good Markup?
- •What Is Sensible Markup?
- •HTML as a Design Tool
- •The Frames of Hazard
- •Please Frame Safely
- •Framing Your Art
- •<META> <META> Hiney Ho!
- •Search Me
- •Take a (Re)Load Off
- •WYSIWYG, My Aunt Moira’s Left Foot
- •Code of Dishonor
- •WYS Is Not Necessarily WYG
- •Publish That Sucker!
- •HTMHell
- •9 Visual Tools
- •Photoshop Basics: An Overview
- •Comp Preparation
- •Dealing with Color Palettes
- •Exporting to Web-Friendly Formats
- •Gamma Compensation
- •Preparing Typography
- •Slicing and Dicing
- •Rollovers (Image Swapping)
- •GIF Animation
- •Create Seamless Background Patterns (Tiles)
- •Color My Web: Romancing the Cube
- •Dither Me This
- •Death of the Web-Safe Color Palette?
- •A Hex on Both Your Houses
- •Was Blind, but Now I See
- •From Theory to Practice
- •Format This: GIFs, JPEGs, and Such
- •Loves logos, typography, and long walks in the woods
- •GIFs in Photoshop
- •JPEG, the Other White Meat
- •Optimizing GIFs and JPEGs
- •Expanding on Compression
- •Make your JPEGS smaller
- •Combining sharp and blurry
- •Animated GIFs
- •Creating Animations in ImageReady
- •Typography
- •The ABCs of Web Type
- •Anti-Aliasing
- •Specifying Anti-Aliasing for Type
- •General tips
- •General Hints on Type
- •The Sans of Time
- •Space Patrol
- •Lest We Fail to Repeat Ourselves
- •Accessibility, Thy Name Is Text
- •Slicing and Dicing
- •Thinking Semantically
- •Tag Soup and Crackers
- •CSS to the Rescue…Sort of
- •Separation of Style from Content
- •CSS Advantages: Short Term
- •CSS Advantages: Long Term
- •Compatibility Problems: An Overview
- •Working with Style Sheets
- •Types of Style Sheets
- •External style sheets
- •Embedding a style sheet
- •Adding styles inline
- •Fear of Style Sheets: CSS and Layout
- •Fear of Style Sheets: CSS and Typography
- •Promise and performance
- •Font Size Challenges
- •Points of contention
- •Point of no return: browsers of the year 2000
- •Absolute size keywords
- •Relative keywords
- •Length units
- •Percentage units
- •Looking Forward
- •11 The Joy of JavaScript
- •What Is This Thing Called JavaScript?
- •The Web Before JavaScript
- •JavaScript, Yesterday and Today
- •Sounds Great, but I’m an Artist. Do I Really Have to Learn This Stuff?
- •Educating Rita About JavaScript
- •Don’t Panic!
- •JavaScript Basics for Web Designers
- •The Dreaded Text Rollover
- •The Event Handler Horizon
- •Status Quo
- •A Cautionary Note
- •Kids, Try This at Home
- •The Not-So-Fine Print
- •The Ever-Popular Image Rollover
- •A Rollover Script from Project Cool
- •Windows on the World
- •Get Your <HEAD> Together
- •Avoiding the Heartbreak of Linkitis
- •Browser Compensation
- •JavaScript to the Rescue!
- •Location, location, location
- •Watching the Detection
- •Going Global with JavaScript
- •Learning More
- •12 Beyond Text/Pictures
- •You Can Never Be Too Rich Media
- •Server-Side Stuff
- •Where were you in ‘82?
- •Indiana Jones and the template of doom
- •Serving the project
- •Doing More
- •Mini-Case Study: Waferbaby.com
- •Any Size Kid Can Play
- •Take a Walk on the Server Side
- •Are You Being Served?
- •Advantages of SSI
- •Disadvantages of SSI
- •Cookin’ with Java
- •Ghost in the Virtual Machine
- •Java Woes
- •Java Woes: The Politically Correct Version
- •Java Joys
- •Rich Media: Exploding the “Page”
- •Virtual Reality Modeling Language (VRML)
- •SVG and SMIL
- •SMIL (through your fear and sorrow)
- •Romancing the logo
- •Sounds dandy, but will it work?
- •Promises, Promises
- •Turn on, Tune in, Plug-in
- •A Hideous Breach of Reality
- •The ubiquity of plug-ins
- •The Impossible Lightness of Plug-ins
- •Plug-ins Most Likely to Succeed
- •Making It Work: Providing Options
- •The “Automagic Redirect”
- •The iron-plated sound console from Hell
- •The Trouble with Plug-ins
- •If Plug-ins Run Free
- •Parting Sermon
- •13 Never Can Say Goodbye
- •Separation Anxiety
- •A List Apart
- •Astounding Websites
- •The Babble List
- •Dreamless
- •Evolt
- •Redcricket
- •Webdesign-l
- •When All Else Fails
- •Design, Programming, Content
- •The Big Kahunas
- •Beauty and Inspiration
- •Index
Taking Your Talent to the Web |
179 |
“knows” what other tags on the page are doing. An HTML tag does not. Neither does an XHTML tag (at least, not yet). But XHTML follows the rules of XML, chief among them the demand that all code be “well-formed.” Tags that close after they open are demonstrating well-formedness in XML parlance.
Exploring XML is beyond the scope of this book and is also beyond your immediate job requirements as a web designer. In all probability you will spend the next few years working with HTML or XHTML. In practical terms, working with XHTML is just like working with HTML, except that it enforces cleaner coding practices. HTML doesn’t care if you clean up your room. XHTML does.
LOOKING AHEAD
What you need to understand:
■Web designers must learn HTML, even if most of the HTML work at their jobs is performed by web technicians. Web designers who choose not to learn HTML will limit their creative thinking as well as their employability. Frankly, few good web firms would hire a designer who lacks at least basic knowledge of the technology that drives the medium, though many would hire a great designer whose initial HTML skills are merely adequate. Fortunately, HTML is very simple and thus very easy to learn.
■HTML was not created as a design tool, and within the next year or two, we will no longer be using it as one. However…
■…the Web is in transition, from an anything-goes “tag soup” to a more usable and logical division of labor between technologies that structure content (HTML, XHTML, XML) and companion technologies that format its display (mainly CSS).
When you begin working at a web shop, you or your coworkers will likely be formatting your pages in HTML (or XHTML) to make them compatible with late 1990s browsers. You will use CSS as well, but initially only in limited ways (more about that in Chapter 10). Soon, CSS will do more and more of the design work, and HTML and its successors will be used as the Web’s creators originally intended.
180 HOW: HTML, the Building Blocks of Life Itself: Looking Ahead
Directory Assistance
On the Web, files are referenced by Uniform Resource Locators (URLs) like this one:
http://www.populi.com/index.html
These URLs are to cyberspace what street addresses are to the real world—no two addresses are exactly the same.
UNIX was used to serve most sites at the dawning of the Web, and consequently, URLs follow the conventions of the UNIX Operating System (for instance, URLs are case-sensitive because UNIX is case-sensitive). UNIX is still used to serve heaps of sites due to its stability and its deep roots in the history of the Internet.
Other popular web-serving operating systems include Windows NT and, increasingly, Linux. Linux is a free, open-source version of UNIX. Macs also can serve websites, though most companies prefer to host on UNIX or NT because these platforms were designed for the job. That may change somewhat now that Apple has unveiled Mac OSX—its next-generation operating system with UNIX underpinnings.
In UNIX, slashes separate directory names from each other and from document names, and all web servers follow these conventions.
The names of web documents (including images, movies, and audio files) generally end in a threeor fourcharacter abbreviation that clues the web server (and the browser) as to what they are (and thus, how they should be handled). HTML documents end in .html (or sometimes .htm); JPEG images end in .jpg (portrait.jpg); Flash files end in .swf (grandioseintro.swf); and so on.
All web-serving platforms follow these conventions in naming. Windows 3.1 is limited to three-letter abbreviations, so .htm is used on that platform. Few sites are served from Windows 3.1, however, and you are astronomically unlikely to encounter Windows 3.1 servers in your professional career—at least in the United States, Canada, and Europe.
Apache is a powerful web-serving platform with many conventions that designers follow even if they don’t know why they’re doing so. For instance, at the root level (www.populi.com), if you include a document titled index.html, that document will open automatically when the visitor types www.populi.com. This is why the ads can say “Visit www.spamulator.com” instead of “Visit www.spamulator.com/index.html.” This is also why, in writing code, you can save bandwidth with URL references such as:
<a href=”http://www.nostril.com/”>
Taking Your Talent to the Web |
181 |
Instead of:
<a href=”http://www.nostril.com/index.html”>
It’s also why you can reference internal files in this way:
Visit the <a href=”contact/”>CONTACT</a> page.
Instead of:
Visit the <a href=”contact/index.html”>CONTACT</a> page.
Or:
Visit the <a href=”http://www.nostril.com/contact/index.html”>CONTACT</a> page.
The systems administrator can override this default if she desires, allowing welcome.html (for instance) to serve as the default opening document. In fact, welcome.html was the default opening document on many systems before index.html gained ascendancy. The default page at www.zeldman.com is still welcome.html. (The old CERN server used Welcome.htm, complete with initial caps.)
These conventions vary by system. Internet Information Server (IIS), on Windows, uses default.html or default.asp. Again, the systems administrator is free to override any such default. (Pickledherring.html could be set up as the default document if desired.) If your server or systems administrator prefers a particular filename, you’ll be told about it on the job.
GETTING STARTED
There are plenty of books about HTML, and heaps of free online resources. After all, what better place than the Web itself to learn about the markup language with which the Web is created?
The beginner’s tutorials at Project Cool’s Gettingstarted.net (www.gettingstarted.net) and Jay Boersma’s Web Work (www.ECNet.Net/ users/gallery/webwork/www.html) can teach anyone, even your Uncle Phil, how to apply basic HTML tags to create simple web pages. A more detailed tutorial, Ian S. Graham’s “Introduction to HTML,” may be found at www.utoronto.ca/webdocs/HTMLdocs/NewHTML/htmlindex.html, and our own “Ask Doctor Web” (www.zeldman.com/askdrweb/), online since 1995,
182 HOW: HTML, the Building Blocks of Life Itself: Getting Started
provides a readable overview on HTML and related technologies along with the psychology of web use and similar topics. After you’re further along, you are sure to enjoy Lance Arthur’s Design-o-Rama at www.glassdog.com/ design-o-rama/, a wittily written treatise that includes a good introduction to frames and JavaScript.
These are but five of many such resources online. Most of these resources are noncommercial in nature. They exist only to share knowledge. We told you the Web was different, didn’t we? (On the Web, this would be a hyperlink back to Chapter 2, “Designing for the Medium.”)
Being noncommercial, such resources might not always be completely up- to-date. For instance, parts of Ask Dr Web show their age visually, and in places, the advice offered might not be up to current standards. Nevertheless, they are all excellent places for those who don’t know their HTML from their elbow to begin absorbing vital knowledge. We urge you to visit them all before moving on to the following more advanced resources.
For a superb, hand-holding tutorial that walks you through the entire realm of HTML, you can’t beat W3C member Dave Raggett’s “Getting Started With HTML” (www.w3.org/MarkUp/Guide/). It’s simple and complete; it touches on CSS, JavaScript, and Image maps as well as HTML; and it comes from a definitive source. (Raggett has been closely involved with the development of HTML since the Web’s earliest days.)
The Web Design Group’s “Web Authoring FAQ” (www.htmlhelp.com/faq/ html/all.html) is yet another fine source of HTML knowledge. It even answers questions such as “How can I get my own domain name?” “Where can I announce my site?” and the ever-popular “How can I make a frame with a vertical scrollbar but without a horizontal scrollbar?”
After you’ve gotten a handle on these basics, you’ll be able to learn from the fine tutorials and articles at Webmonkey (hotwired.lycos.com/ webmonkey/), Builder.com (home.cnet.com/webbuilding/), and our own A List Apart (www.alistapart.com). Along with technical exercises and techniques, these three resources offer a bevy of useful tips, tricks, opinions, and (best of all) insights into the changing nature of web code, design, and content.