News for hackers. Stuff that matters.
Re:The <output> Tag by meindnoch on Saturday October 11, 2025 @05:53AM (#45547856)
Most sites today are not using HTML in the way it was originally envisioned. They use something called "DHTML" instead. The D stands for DIV, because people seldom use any other tag. E.g. in normal HTML you would use the TABLE, TR and TD tags to build a table. In modern DHTML (aka DIV-HTML) people build the table from fixed size DIVs, and calculate the column sizes via JavaScript.
Re:The <output> Tag by asjo on Saturday October 11, 2025 @06:07AM (#45547922)
The D in DHTML is usually short for "Dynamic".

Around the time that abbreviation became fashionable using a lot of DIV elements also did, but that wasn't what the "D" stood for.

https://en.wikipedia.org/wiki/Dynamic_HTML

Re:The <output> Tag by 1718627440 on Saturday October 11, 2025 @06:08AM (#45547930)
I think that was known by meindnoch and was a joke.
Re:The <output> Tag by throw-the-towel on Saturday October 11, 2025 @10:24AM (#45549386)
I'd say DHTML was more of a thing in the early 2000s when we were still using tables for layout. The divs came later, when the abbreviation had fallen out of fashion because all HTML kinda was dynamic by default.
Re:The <output> Tag by junon on Saturday October 11, 2025 @08:01AM (#45548479)
Not sure if a joke but this is factually inaccurate.
Re:The <output> Tag by wwweston on Saturday October 11, 2025 @08:58AM (#45548816)
Accurate to some substantial usage, whatever definitional inaccuracy or backronym action is in play.

Descriptivism usually reflects some reality no matter the intended prescriptives.

Re:The <output> Tag by junon on Saturday October 11, 2025 @09:02AM (#45548837)
No, sorry. It's factually inaccurate. DHTML stood for Dynamic HTML, it was an extension before Javascript and whatnot was added.
Re:The <output> Tag by wwweston on Saturday October 11, 2025 @09:42AM (#45549087)
Be sure to correct all the people who are using the term “cool” for things other than relative temperature, as it was originally defined.

See also the dictionary fallacy, and again descriptivism vs prescriptivism.

Additionally, even leaving alone the div/dynamic language issue, there really isn’t a point in usage history where DHTML came without JS — believe me, I was doing it when the term first came into usage. JS was required for nearly all dynamic behavior.

Re:The <output> Tag by jama211 on Saturday October 11, 2025 @02:31PM (#45551460)
Man I live for takedowns like these, nice work
Re:The <output> Tag by junon on Sunday October 12, 2025 @09:38AM (#45558165)
what takedown?
Re:The <output> Tag by jama211 on Sunday October 12, 2025 @02:05PM (#45560342)
You can work it out, I believe in you.
Re:The <output> Tag by 1659447091 on Sunday October 12, 2025 @12:33AM (#45555247)
> See also the dictionary fallacy, and again descriptivism vs prescriptivism

DHTML is an acronym that expands to: Dynamic HyperText Markup Language.

There is no dictionary fallacy or descriptivism vs prescriptivism or defined meaning. It was simply an industry standard way to shorten all those words.

Changing one of the letters to stand for something else reassigns the pointer to something else entirely, or is the making of a joke, which I think the above may have been.

Re:The <output> Tag by jama211 on Sunday October 12, 2025 @02:08PM (#45560368)
Wow, you should try out for the olympics with those acrobatics. I didn’t realise it was possible to miss every point so hard.
Re:The <output> Tag by k33n on Saturday October 11, 2025 @09:07AM (#45548870)
DHTML is literally just HTML that is dynamically modified by JavaScript. DHTML became a term when JavaScript became ubiquitous. It was not an extension.
Re:The <output> Tag by junon on Saturday October 11, 2025 @09:18AM (#45548921)
Javascript was not ubiquitous when the term DHTML was last seriously used. And yes, CSS and javascript were extensions at the time, not very widely supported across all browsers.

We had table based layouts and then divs when CSS started to take off, mostly used by artists rather than companies at first.

Javascript had vanishingly limited uses at first, too. I don't remember exactly how long it took us to get XHR but before that we had "Comet frames", before iframe security was given much focus. Javascript couldn't do that for a while. It was also dodgy and considered bad practice for quite a while, too.

I don't remember when the term javascript was even really used in regular vernacular but DHTML was not so much referring to CSS as it was the myriad of weird mechanisms introduced to make pages dynamic. It was never "Div-based HTML" or whatever, the div craze came way later once CSS was Good Enough to eschew table layouts - after which, Dreamweaver died and photoshop's slice tool finally got removed, and we started inching toward where the web sits today.

I also do distinctly recall needing a doctype for DHTML for some browsers.

Re:The <output> Tag by randallsquared on Saturday October 11, 2025 @09:39AM (#45549058)
> Javascript was not ubiquitous when the term DHTML was last seriously used.

It wasn't as fast or as usable as it is today, but Javascript has been in every mainstream browser since before Microsoft started pushing "DHTML".

Interestingly, in my memory, it seemed like we had JS for a long time before DHTML, but it was only a couple years between Eich writing it and IE4, which was the start of the "DHTML" moniker. Looking back at the timeline, everything seems much more compressed than it felt at the time.

Re:The <output> Tag by junon on Saturday October 11, 2025 @11:25AM (#45549879)
That could be. And yeah, DHTML came and went pretty quickly even by today's standards.
Re:The <output> Tag by k33n on Saturday October 11, 2025 @09:28AM (#45548971)
DHTML was just JavaScript that mutated the DOM. That’s literally all it ever was. There was also not a DHTML doctype. There was also not anything even called “an extension”. There were Java applets, ActiveX controls, and ActionScript -> JavaScript bridges, which the concept of DHTML (dynamic HTML) eventually fully replaced.

Divs weren’t a “craze”. They were popularized by the (brand new) XHTML spec, which did have its own doctype.

Re:The <output> Tag by Izkata on Saturday October 11, 2025 @01:30PM (#45550984)
> I don't remember when the term javascript was even really used in regular vernacular

2004 or 2005. Gmail and Google Maps were a "holy crap this is actually possible?" for a lot of people, both technical and non, and was when javascript switched from mostly-ignored* to embraced.

*Just minor enhancements, outside of technical people mostly only known to MySpace users who wanted to add a little flair to their page. XmlHttpRequest was almost entirely unknown even in technical spaces until gmail showcased interaction without page refreshes.

Re:The <output> Tag by junon on Sunday October 12, 2025 @09:39AM (#45558172)
Not sure why you're being downvoted, but actually yeah, this isn't far off from my recollection either.
Re:The <output> Tag by BrendanEich on Monday October 20, 2025 @06:14PM (#45650101)
JS was ubiquitous when DHTML was pushed by Microsoft, because DHTML required JScript aka JS.

CSS was not there in the '90s because Netscape didn't implement, and MS did its own subset.

JS and CSS both suffered from wildly inconsistent support between Netscape and IE, but JS at root had interop enough to support hotmail, later OddPost, much more. CSS had no extension mechanism based on JS then, so it suffered browser-specific support that was IMHO worse than JS suffered. No way to polyfill.

Re:The <output> Tag by BrendanEich on Monday October 20, 2025 @06:15PM (#45650107)
(There was no DOCTYPE for DHTML. The one for HTML 4.01 was not equivalent to a DOCTYPE for DHTML.)
Re:The <output> Tag by epcoa on Saturday October 11, 2025 @10:38AM (#45549499)
What does SHTML stand for?
Re:The <output> Tag by andrewflnr on Saturday October 11, 2025 @10:54AM (#45549629)
SPAN-HTML, obviously.
Re:The <output> Tag by chuckhoupt on Saturday October 11, 2025 @10:54AM (#45549627)
The classical answer is that the S stands for Server-Side-Incude (SSI). SSI source typically uses the extension .shtml. More info:

https://en.wikipedia.org/wiki/Server_Side_Includes

Re:The <output> Tag by DonHopkins on Saturday October 11, 2025 @12:29PM (#45550419)
It's short for SHiTML.
Re:The <output> Tag by tingletech on Saturday October 11, 2025 @08:13PM (#45553953)
This is a legacy of old apache configurations, the common mime type configuration files used .html to send the straight file, and .shtml to turn on the server side processing instructions. Server side includes could be static files or executable scripts that generated text on STDOUT. If you were using a lot of server side includes, it was cleaner just to turn on server side parsing for the whole site.
Re:The <output> Tag by m-hodges on Saturday October 11, 2025 @03:39PM (#45552035)
Man, I love it when I find a good <table>

https://matthodges.com/posts/2025-09-30-visidata/