com.abtinbidgoli ~ UX/UI Developer
com.abtinbidgoli ~ UX/UI Developer

1997: The Year of DHTML

  • Abtin Bidgoli
  • 2 August 2023
  • 5 minute read

Albeit 1997 was a year of growth for JavaScript. However, it was also a year in which its limitations were recognized & a new term was coined that both embraced & extended JavaScript.

DHTML, or Dynamic HTML, was essentially a combination of HTML, JavaScript, the newly released CSS standard, & an emerging web programming model called the DOM (Document Object Model). That said, the precise definition of DHTML depended on which browser company you spoke to: Netscape or Microsoft.

com.abtinbidgoli ~ UX/UI Developer

As it turned out, Microsoft’s vision for DHTML was more compelling from a technical perspective than Netscape’s (perhaps the first time that could be said about a web technology Microsoft pioneered ~ but it would not the last). What Microsoft wanted to achieve with DHTML was to make every element of an HTML document into a programmable object. JavaScript was, at the time, mostly limited to interactivity of forms & images. Microsoft’s DHTML, though, aimed to expand the canvas for interactivity to the entire web page.

As Robert Mudry put it in his book The DHTML Companion, released at the end of 1997:

“Microsoft saw the JavaScript Object Model & realized that in order for a scripting language, any scripting language, to be truly useful, it must have full access to every piece of your HTML document. Everything must be recognized as an object.”
com.abtinbidgoli ~ UX/UI Developer

One of the architects of Microsoft’s version of DHTML was Scott Isaacs, who worked for Microsoft for 20 years (1993~2013). He also authored a 1997 book about DHTML, released a month or two before Mudry’s. In 2005, Isaacs told the Microsoft Channel 9 video team that:

“DHTML was all about pages that could change in response to basically any stimuli ~ whether it was the user, data from the server, a timer, who really cares.”

DHTML could do these updates without reloading the page, which at the time was a novel approach. Isaacs explained in an interview promoting his 1997 book:

“Everything happens on the client & you don’t have to go back to the server.”

If this sounds familiar to developers of Single Page Applications (SPAs) today, it’s because Microsoft’s DHTML was the start of all that. It’s often thought that Ajax (Asynchronous JavaScript and XML) in the early 2000s was where this approach began. But it wasn’t Google that invented it with Gmail in 2004; the beginnings go back to Microsoft’s DHTML in 1997. That led to XMLHttpRequest a year or two later, & then into Ajax. But that’s a story for a future post.

com.abtinbidgoli ~ UX/UI Developer

Inching Toward a DOM Standard

When Microsoft announced its new browser, Internet Explorer 4.0, in April 1997, it called DHTML “an open, language-independent object model.” This object model directly inspired the emergence of the W3C standard called the DOM ~ although there was some prior art that came from Netscape.

In previous browsers, versions 2 & 3, there existed an unofficial & fairly limited DOM that was later labeled “Level 0.” As Peter-Paul Koch wrote:

“The Level 0 DOM was invented by Netscape at the same time JavaScript was invented & was first implemented in Netscape 2. It offers access to a few HTML elements, most importantly forms & (later) images.”

In 1997, the evolution of the DOM entered into an intermediate stage ~ where developers knew that a standard web object model was needed, but the details were yet to be hashed out. Indeed, at this time Netscape & Microsoft had very different object models for their respective version 4 browsers. Here’s Koch again:

“Netscape & Microsoft chose to create their own, proprietary DOMs to provide access to layers & to change their properties (their position on the page, for instance). Netscape created the layer model & the DOM document.layers, while Microsoft used document.all.”
com.abtinbidgoli ~ UX/UI Developer

It wouldn’t be until 1998, with the version 5 browsers & a W3C specification, that the DOM would reach Level 1. It became a W3C specification in October of that year (& it didn’t just cover HTML; it was also for XML, another emerging W3C standard).

Early discussions about the DOM were happening on the W3C mailing lists by April 1997. This message on 15 April 1997, in response to someone asking what this new-fangled DOM was, indicated that Scott Isaacs and Microsoft were influencing the emerging standard:

“It is a (very) new W3C WG ~ they don’t appear to have their own page up yet. I talked to several of the participants at WWW6 & Scott Isaacs from MS was kind enough to demonstrate the MSIE reference implementation. It is very powerful concept ~ but we’re a ways from seeing a standard I expect.”

At around the same time, a new W3C mailing list was started for discussions based on the DOM working group. Lauren Wood, chair of this group, posted the first message on 25 April 1997:

“The first pages about the Document Object Model are now available. Point your favourite browser at http://www.w3.org/pub/WWW/MarkUp/DOM

A copy of that page from June 1997 exists on the Wayback Machine. It defined the DOM as follows:

“The Document Object Model is a platform- & language-neutral interface that will allow programs & scripts to dynamically access & update the content, structure & style of documents. The document can be further processed & the results of that processing can be incorporated back into the presented page.”
com.abtinbidgoli ~ UX/UI Developer

So it was clear from the get-go that the DOM was an interface for scripts & programs (which enabled interactive content). What’s most interesting in this early version of the W3C DOM documentation, is that DHTML is cited as the motivation for the project:

'Dynamic HTML' is a term used by some vendors to describe the combination of HTML, style sheets & scripts that allows documents to be animated. W3C has received several submissions from members companies on the way in which the object model of HTML documents should be exposed to scripts.”

The Release of IE4

When Internet Explorer 4 was released in October 1997, it was the first browser to demonstrate a full-page object model ~ as described above, basically a prototype of the W3C DOM spec that would be released a year later. In these respects, IE4 was a revolutionary product for web developers. As described in 2011 by Jeremy McPeak:

IE4’s designers wanted to turn the browser into a platform for Web applications. So they approached IE4’s API like an operating system’s—providing a near complete object model that represented each element (& an element’s attributes) as an object that could be accessed with a scripting language (IE4 supported both JavaScript & VBScript).

Netscape Navigator 4 had a limited DOM by comparison. It was perhaps most noticeable in how each browser moved elements around a web page. Netscape used a proprietary technology called “layers,” which animated content on a web page using JavaScript. Compare this to how IE4 did it, as explained here by Scott Isaacs:

"Internet Explorer uses an object called the All Collection to move elements around. Netscape uses a different collection called Layers. & the difference really comes back into the fundamentals of what both browsers did. Microsoft, in the All collection gives you access to every element and does not distinguish between whether it’s positioned or not. With Netscape, you can only program positioned elements ~ elements located at specific points on your screen. These few elements are packaged in a separate collection called Layers."
com.abtinbidgoli ~ UX/UI Developer

All that said, there was a lot that IE4 either didn’t support yet (e.g. CSS borders) or that was non-standard & unique to IE (e.g. the infamous Marquee element). Despite these compatibility issues, Mudry concludes in his book that IE4 is “a very powerful & robust browser” & that its ideas on dynamic HTML were superior to Netscape’s. Crucially, those ideas were picked up & carried forward by the W3C ~ “this time Microsoft has standards on its side,” is how Mudry put it.

The Legacy of DHTML

What’s striking looking back on 1997 is that, for the first time, it wasn’t Netscape setting the agenda for web development. Microsoft’s object model was superior & it formed the basis for the W3C standard. Netscape also tried to create an alternative to CSS, with a JavaScript-powered styling mechanism called JavaScript-Based Style Sheets (JSSS). Although it was submitted to the W3C, JSSS went nowhere. Eventually Netscape moved to support the emerging CSS & DOM standards, but it was surprising that they ceded the floor to Microsoft in DOM innovation.

com.abtinbidgoli ~ UX/UI Developer

Nowadays we don’t use the term “DHTML” & much of the interactive functionality that it promised in 1997 became subsumed into the W3C DOM standard (which itself went through many iterations over the years, but that’s another series of posts). We can look back on DHTML now as being the impetus for the development of a standard programmatic interface to HTML pages. Craig Knuckles & Joe Hummel put it nicely in an academic paper from 2005:

“Perhaps the most important legacy of DHTML is that it has introduced a new paradigm in GUI development ~ create a GUI using a markup language, & script the events using some programming language.”
When it comes to predicting the market, the important skill here is not listening, it’s snoring. The trick is not to learn to trust your gut feelings, but rather to discipline yourself to ignore them. Stand by your stocks as long as the fundamental story of the company hasn’t changed.” ~ Curated Excerpt From: Peter Lynch. “One Up on Wall Street: How to Use What You Already Know to Make Money In.” Apple Books.

Curated via Richard MacManus. Thanks for reading, cheers! (with a glass of wine & book of course)

com.abtinbidgoli ~ UX/UI Developer

2016 Tenuta Cucco Azienda Agricola 'serralunga' Barolo

Producer: Tenuta Cucco ~ Cascina Cucco, Piedmont, Barolo, Italy

"A bright, expressive style, this Barolo features strawberry, cherry, floral and cut hay aromas and flavors. Iron and tobacco accents flirt around the edges as the dense matrix of tannins emerges on the lingering finish. Best from 2023 through 2040. 2,500 cases made, 900 cases imported." ~ 93 Points ~ Wine Spectator BS
com.abtinbidgoli ~ UX/UI Developer

One Up On Wall Street: How To Use What You Already Know To Make Money In The Market

By: Peter Lynch & John Rothchild

Peter Lynch is America's number-one money manager. His mantra: Average investors can become experts in their own field and can pick winning stocks as effectively as Wall Street professionals by doing just a little research.
Now, in a new introduction written specifically for this edition of One Up on Wall Street, Lynch gives his take on the incredible rise of Internet stocks, as well as a list of twenty winning companies of high-tech '90s. That many of these winners are low-tech supports his thesis that amateur investors can continue to reap exceptional rewards from mundane, easy-to-understand companies they encounter in their daily lives.
Investment opportunities abound for the layperson, Lynch says. By simply observing business developments and taking notice of your immediate world ~ from the mall to the workplace ~ you can discover potentially successful companies before professional analysts do. This jump on the experts is what produces "tenbaggers," the stocks that appreciate tenfold or more and turn an average stock portfolio into a star performer.
The former star manager of Fidelity's multibillion-dollar Magellan Fund, Lynch reveals how he achieved his spectacular record. Writing with John Rothchild, Lynch offers easy-to-follow directions for sorting out the long shots from the no shots by reviewing a company's financial statements and by identifying which numbers really count. He explains how to stalk tenbaggers and lays out the guidelines for investing in cyclical, turnaround, and fast-growing companies.
Lynch promises that if you ignore the ups and downs of the market and the endless speculation about interest rates, in the long term (anywhere from five to fifteen years) your portfolio will reward you. This advice has proved to be timeless and has made One Up on Wall Street a number-one bestseller. And now this classic is as valuable in the new millennium as ever.
Recent Muse Or Ponder