Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 3 Sep 1999.
Re: displaying ascii art in HTML page?

Re: displaying ascii art in HTML page?

m�spher (JT) wrote:
> Veronica Karlsson wrote:
> >Yun-Jung Jo wrote:
> >> I've been looking at ascii art samples on the web and I've noticed that
> >> they are enclosed either in <PRE> tag or <XMP> tag.
> >
> >You should not use <xmp> (it is deprecated).
>                                  ^^^^^^^^^^
> what's this mean? -------------^^^^
> 

It means "you shouldn't use it".  :-)

http://www.w3.org/TR/REC-html40/conform.html#deprecated

   A deprecated element or attribute is one that has been
   outdated by newer constructs. Deprecated elements are
   defined in the reference manual in appropriate locations,
   but are clearly marked as deprecated. Deprecated elements
   may become obsolete in future versions of HTML.

> >> Just out of curiosity, are there any other HTML tags that are used to
> >> display ascii art?
> >
> >Why would you want that? Isn't one tag enough for you? ASCII art is
> >preformatted text, and <pre> is the html tag to use for that.
> 
> would <tt> work? or is that old and outdated too?
> 

No, <tt> won't work. At least not reliably. Sure, you'll get a
monospaced font with <tt> but the text won't be "fixed" and may wrap if
the window is too small.


-- 
    (,         http://www.ludd.luth.se/~vk/cgi/asciichat/
    /|__--__                       .                        __--__
    |\ '__                        /|\                        _{ _ 
    `.' / `.,_ _________           |           _________ _,.' (/ `.
    /  ||``._.'             ASCII ART CHAT!             `---'|:||,/
  .'   /|                                                   /|:| \
.'    /\ \         __   __                _                 `/|'\'
 ` `,/ /`,\        \ \ / /__ _ _ ___ _ _ (_)__ __ _         /,'\ \
   .'.'  /|         \ V / -_) '_/ _ \ ' \| / _/ _` |        |\  `.`.
 ,' /   / |          \_/\___|_| \___/_||_|_\__\__,_|        | \   \ `,
- `- -- `-'- -ejm-------------------------------------VK-- -`-' -- -' -

Original message headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f996b,d297de33cd1cc5fc
X-Google-Attributes: gidf996b,public
From: Veronica Karlsson <aci...@earthling.net>
Subject: Re: displaying ascii art in HTML page?
Date: 1999/09/03
Message-ID: <37D...@earthling.net>#1/1
X-Deja-AN: 520786243
Content-Transfer-Encoding: 8bit
References: <37C...@utoronto.ca> <37D...@earthling.net> <37d52d2b.62852160@90.0.0.1>
Organization: University of Lulea, Sweden
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0
Newsgroups: alt.ascii-art
About this message. This message was posted publicly to the newsgroup alt.ascii-art in 1999 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