Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 2 May 1998.
Re: [SUGGESTION] Amendment to a.a-a FAQ re: HTML

Re: [SUGGESTION] Amendment to a.a-a FAQ re: HTML


In article <6hvhk7$5p0$1...@tron.sci.fi>, 
Ilmari Karonen <ilt...@sci.fi> writes:
>
> Q: How can I put ascii art 
     into HTML for webpages? should I put HTML on the newsgroup?

>
> A: To embed ascii art in HTML, first replace all occurrences of "&" in the
>    picture with "&amp;" and of "<" with "&lt;". Then put the HTML tag
>    <PRE> before the picture and </PRE> after it.
>
> Original:
>      ____     _____
>     /  \  _.-'_.-'
>     \  _\/   _/
>   ___)/   __<
>  <'-;:\_  _\
>      '; \_\
>       >/-,\
>     ""`  |_\ snd
> HTML version:
><PRE>
>      ____     _____
>     /  \  _.-'_.-'
>     \  _\/   _/
>   ___)/   __&lt;
>  &lt;'-;:\_  _\
>      '; \_\
>       >/-,\
>     ""`  |_\ snd
></PRE>

  This is a text newsgroup. While nobody will object to a couple of tags
  at the beginning and end, the vast majority of the picture should look
  like 100% readable text: if it looks like a load of HTMLtags, you will
  get flamed by people whose newsreaders don't render it. 

>
> Q: How can I change the font 
>in which ascii art is shown on my WWW page?
>
> A: There are several ways but not every browser supports any of them. 
     The commonest is <font face="courrier">this is in courrier</font>

>The recommended, though not yet very widely
>    supported, way is to use Style Sheets. Just add the following in the
>    HEAD section of your page:
>
><STYLE type="text/css"><!--
>  PRE { font-family: "Best font", "2nd best font", "etc.", monospaced; }
>--></STYLE>
>
>    You can list as many fonts as you like, just keep "monospaced" as the
>    last one. Note: Strictly speaking specifying a font is not pure ascii
>    art. However this _is_ a FAQ, and as long as you don't use proportional
>    fonts the picture will still be viewable as pure ascii. Remember NOT to
>    post HTML in the newsgroup.

  Q: Can I put colours in ascii art? [may be covered already]
  
  A: Standard ascii-art is what all readers can display in plain text
     and has no facility for colours.  You can put colours into HTML-  
     ised ascii-art with <FONT color="FFFF00">maxR+maxG=Yellow</FONT>.


>---(cut here)---------------------------------------------------------

                                            |~/           |~/
~~|;'^';-._.-;'^';-._.-;'^';-._.-;'^';-._.-;||';-._.-;'^';||_.-;'^'0-|~~
P |      Woof Woof, Glug Glug               ||____________||      0  | P
O |   Who Drowned the Judge's Dog?          | . . . . . . . '----. 0 | O
O |         answers on                  *---|_______________  @__o0  | O
L |{a href="news:alt.religion.scientology"}{/a}_____________|/_______| L
and{a href="http://www.xemu.demon.co.uk/clam/lynx/q0.html"}{/a}XemuSP4(:)

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f996b,293e46f3c3075b56
X-Google-Attributes: gidf996b,public
From: Dave Bird---St Hippo of Augustine <new...@xemu.demon.co.uk>
Subject: Re: [SUGGESTION] Amendment to a.a-a FAQ re: HTML
Date: 1998/05/02
Message-ID: <rUq...@xemu.demon.co.uk>#1/1
X-Deja-AN: 349610537
References: <6hvhk7$5p0$1...@tron.sci.fi>
MIME-Version: 1.0
Distribution: world
X-NNTP-Posting-Host: xemu.demon.co.uk:158.152.196.209
X-Complaints-To: abu...@demon.net
X-Trace: news.demon.co.uk 894122701 nnrp-07:14909 NO-IDENT xemu.demon.co.uk:158.152.196.209
Organization: 1st Canine Chapel of Bob Dobbs Dog (Church of the SubGenius)
Newsgroups: alt.ascii-art
About this message. This message was posted publicly to the newsgroup alt.ascii-art in 1998 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