Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 12 Nov 1997.
Re: HTML and ASCII [was: Re: THE NEW FAQ [....] ]

Re: HTML and ASCII [was: Re: THE NEW FAQ [....] ]

P. LaBrocca (p...@labrocca.com) spake thusly:
> C. Martin wrote:
> > Sure, <PRE> is nice, but try "<CODE>" instead, or in addition
> > to.  Of course, I speak before I've tried this in reference
> > to displaying ASCII art for say Lynx review, but whenever I
> > think of <PRE>, I think of <CODE>, too.  Please let me know

Why? Ascii art isn't usually computer code, although there were some
pretty artistic entries to the International Obfuscated C contest a while
back... 

> The code-tag wraps a line that is longer than the width of the viewer's
> browser window, while pre does not. For ASCII art pre is the better
> choice.

Well spoken. <code> is for C or Java or Perl (or whatever) source code; 
text that can be fed into a machine to make it do things. <tt> (teletype -
yow!) would be OK for one-line art, but the usual rendering scrunches
spaces. Using the block-level <pre> element is almost certainly the Right
Thing as whitespace isn't squelched, and every reader is supposed to
display it as-is, in monospaced type.

Alternatively, just present the art as plain text files; Unix flavour for
preference. I'm sure nobody will mind if colour doesn't matter :)

-- 
Andrew Chadwick -- a.t...@dur.ac.uk -- http://www.dur.ac.uk/~d44abw/
me to me that her myself, I am simply what went concer a discuss that in who 
dress to responsense. You have been the both drawing a greatures of black 
from one as silver an ordinary day createn myself an eated to me time to 

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f996b,f1f971752e3e320a
X-Google-Attributes: gidf996b,public
From: A T Chadwick <A.T...@durham.ac.uk>
Subject: Re: HTML and ASCII [was: Re: THE NEW FAQ [....] ]
Date: 1997/11/12
Message-ID: <64cu1n$s8m$1...@sirius.dur.ac.uk>#1/1
X-Deja-AN: 289004551
References: <01bceb06$5f8ae300$LocalHost@atkins> <641ud7$npr$2...@ci.ist.utl.pt> <64cbfh$7t...@alexander.INS.CWRU.Edu> <346...@labrocca.com>
Organization: UK plc
Newsgroups: alt.ascii-art
About this message. This message was posted publicly to the newsgroup alt.ascii-art in 1997 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