A bit of HTML history, why we have an IMG tag

For general web development questions that are not specifically related to CSS HTML Validator. This includes (but is not limited to) general HTML, CSS, Accessibility, JavaScript, and SEO questions.
Post Reply
User avatar
MikeGale
Rank VI - Professional
Posts: 726
Joined: Mon Dec 13, 2004 1:50 pm
Location: Tannhauser Gate

A bit of HTML history, why we have an IMG tag

Post by MikeGale »

I found an interesting snippet today that people here might find interesting.

It details some of the thinking and discussion behind the design of the IMG tag (in 1993).

http://j.mp/3zLTPi

Marc Andreesen, before Netscape was thought about, introduced it as a quick fix. It was clear even then that a better design should accommodate audio, video etc. It was just a quickie. It became embedded and we still don't have the a really good way of doing the missing bits.

Victory of first to publish over good design!

The article reminds about some of the things we faced back then.
User avatar
Albert Wiersch
Site Admin
Posts: 3785
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: A bit of HTML history, why we have an IMG tag

Post by Albert Wiersch »

That is interesting! But sometimes, simplicity is the best design. :wink:
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
User avatar
MikeGale
Rank VI - Professional
Posts: 726
Joined: Mon Dec 13, 2004 1:50 pm
Location: Tannhauser Gate

Re: A bit of HTML history, why we have an IMG tag

Post by MikeGale »

The simplicity is great. (Especially when you look at the 29 or so attributes this tag can now have!!)

If you think about it, this could have done so much more. The burden is put on the browser to identify the file type so the tag could transparently handle:

SVG
Flash movies
VML
Canvas
Sound
HTML fragments
WPF/Silverlight...

without modification. (It would be pretty nutty though without height and width and an optional "how to flow" parameter seems sensible. A type parameter would also relieve the burden on browser programmers.)

Even in it's original form this could have done so much more.
iouri
Rank 0 - Newcomer
Posts: 3
Joined: Wed Sep 26, 2012 12:43 pm

Re: A bit of HTML history, why we have an IMG tag

Post by iouri »

Hehe, neat! There is a saying in russian and loosely translated it is: Everything that is genius is simple.
Post Reply