Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 24 Sep 1996.
Re: Ascii-art in HTML (how to fix)

Re: Ascii-art in HTML (how to fix)

In article <199...@zetnet.co.uk> Jeremy Cooke
<jer...@zetnet.co.uk> writes:

> Ahhh, I thought this thread died ages ago!

It did.  Sorry for this addition to it, but I think it'll be useful.

> The original post (long time ago now) asked whether it was possible 
> to put ASCII art in te alt= tag of an image so users not loading 
> images could have an ASCII version instead. 
>
> The end conclusion was that it is not possible (<pre> works in a few 
> web browsers in the alt string but not all, <BR> won't work either 
> 'cause you can't have tags inside tags).

When this thread first started, there weren't many browsers supporting
the <OBJECT> tag.  Now I think the latest versions of the big angry
browsers will support it, but I doubt many of the others do.  It works
something like this:

  <OBJECT data="snail.gif" type="image/gif"><pre>@_,</pre></OBJECT>

So, if your browser knows both what the OBJECT tag means and how to
display something of the MIME-type "image/gif", you'll see the picture
at the relative URL "face.gif".  Otherwise, if your browser doesn't
recognize OBJECT or "image/gif"s, it will display the HTML between
<OBJECT> and </OBJECT>.  That HTML can have whatever formatting tags
you want, I believe, including IMGs and other OBJECTs.

For the latest version of the spec, check out
  http://www.w3.org/pub/WWW/TR/WD-object.html

--brian

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f996b,e8656e8782b25e98
X-Google-Attributes: gidf996b,public
From: tiv...@mit.edu (brian tivol)
Subject: Re: Ascii-art in HTML (how to fix)
Date: 1996/09/24
Message-ID: <n9b...@bart-savagewood.mit.edu>#1/1
X-Deja-AN: 185042730
sender: tiv...@bart-savagewood.mit.edu
references: <4rigs4$ed...@olorin.nask.pl> <eGi5pFAd$P3x...@xemu.demon.co.uk>
organization: Massachusetts Institute of Technology
newsgroups: alt.ascii-art
About this message. This message was posted publicly to the newsgroup alt.ascii-art in 1996 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post