How about an "IF" markup construct...

David Koblas (koblas@netcom.com)
Tue, 15 Nov 1994 23:25:33 +0100


I realize that people will probably jump on my "case" for say such
things, but here it goes...

There has been discussion about "what does the browser support". why
not make it part of the document? Personally, I'm tired of loading
a table of clients v.s. support into my server so that I can server
the correct documents to people.

Imagine if it was possible to do:
<IF TABLE=TRUE>
<TABLE>
...
</TABLE>
<ELSE>
<PRE>
...
</PRE>
</IF>

It means that "IMG" could really be like:
<IF INLINE_IMAGES>
<IMG SRC=...>
<ELSE>
text...links..other fun things.. Nice _complicated_ markup
</IF>

This would probably mean that HTML was no longer SGML compliant, but
is this something that we are really necessary?

I realize that in the case of tables documents get longer, but
it also means that they could be created programatically.

--koblas@netcom.com