A List Apart

Menu Issue № 194

Validating a Custom DTD

by J. David Eisenberg · 25 Comments

In his article in this issue, Peter-Paul Koch proposes adding custom attributes to form elements to allow triggers for specialized behaviors. The W3C validator won’t validate a document with these attributes, as they aren’t part of the XHTML specification. Not to worry! This article will show you how to create a custom DTD that will add those custom attributes, and will also show you how to validate documents that use those new attributes.

JavaScript Triggers

by Peter-Paul Koch · 140 Comments

Now that you’ve separated your website’s (XHTML) structure from its (CSS) presentation, wouldn’t it be great to similarly abstract the behavioral (JavaScript) layer from the others? ALA prodigal Peter-Paul Koch shows how to use JavaScript Triggers to do just that.

More from A List Apart

Columnists

Nishant Kothary on the Human Web

“Buy Him A Coffee”

Doing effective work often depends on the cooperation of colleages. Many of us struggle with this aspect of our jobs. Our very reasonable explanations fall on deaf ears. We’re not charismatic or extroverted, and people tune us out. We’re good at what we do, but we’re not “born leaders.” Actually, it’s not arcane knowledge or inborn talent that gives you the ability to win friends and influence people. Nishant Kothary realized that being influential is a skill that you can (and should) develop.

From the Blog

On Our Radar: Pretty Advanced Machine Learning

Between bots and blogging, newsrooms are getting into Slack in some very cool ways (take some inspiration and apply for a Knight-Mozilla Fellowship!). Plus more recommended reading: revisiting Cameron’s World; the joy of generalists; the finer points of faving; and one really excellent gif of cats.

Building to Learn

Whether you're just getting started on the web, or trying to pick up a new framework, Susan Robertson has a radical idea: build something that interests you. Sure, there are courses and tutorials out there to walk you through it, but a project you're actually excited about will help you solidify those skills and make them easier to recall when you need them most.