Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet thread from alt.ascii-art, started 3 Aug 1995.
 _   _                     _        _             _     _           
| | | |___  ___ _ __   ___| |_     / \   _ __ ___| |__ (_)_   _____ 
| | | / __|/ _ \ '_ \ / _ \ __|   / _ \ | '__/ __| '_ \| \ \ / / _ \
| |_| \__ \  __/ | | |  __/ |_   / ___ \| | | (__| | | | |\ V /  __/
 \___/|___/\___|_| |_|\___|\__| /_/   \_\_|  \___|_| |_|_| \_/ \___|
Answer: ASCII art on web pages

Answer: ASCII art on web pages

alt.ascii-art · 2 messages · 3 Aug 1995 - 8 Aug 1995
Bob Allison <bob...@wwa.com> ASCII art 3 Aug 1995 00:00 · permalink · report
Win Kang <eas...@rigel.oac.uci.edu> wrote:
>How do i do this? do i simply write into the html file?  what if some 
>error occurs b/c of existence of certain characters?  what's a good 
>command to use?


   You need to do two things;

   1. Use <pre> tag before the ASCII art starts, and </pre> after it 
      finishes.  This will force the browser to use a monospaced font.

   2. Use the escape sequesces for characters like: & < >
      You can find them in HTML references.

   Also, you can use ASCII art in ALT tags, so that people using text 
based can see an ASCII pic where people using graphical browsers see a GIF.

--
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::''  ''::'      '::::::  `:::::::::::::'.::::::::::::::::::::
::::::::::::::::' :. :  :.        ::::::  .::::::::::.:::'::::::::::::::::::::
:::::::::::::::::  :   :::.       :::::::::::::..::::'     '::: : ::::::::::::
:::::::::::::::'   :':  "::'     '"::::::::::::: :'           '' '::::::::::::
::::::::'        : '   :  ::    .::::::::'    '                        .::::::
::::::::               :  .:: .::. ::::'                              ::::::::
::::::::. .,.        :::  ':::::::::::.: '                      .:...:::::::::
:::::::##### ::####   #### ::##### ::#####  ####  #####    ####   ## :## :## :
:::::## :::::##     ## :## :## :## :##    ##     ## :##  ##  ##  ## :## :## ::
:::::#### ::## ::  ###### :##### ::####  ##     ##### : ## :## :## :## :## :::
:::::::## :## ::::## :## :## ## ::## :  ##     ## ## : ## :## :## :## :## ::::
::##### :::#### :## :## :## :## :#####  ####  ## :## : ####  ::######## ::::::
::::::::::::::::::::::. '  '::::::.  '  '     :::::.:.:.:.:.::::::::::::::::::
::::::::::::::::::::::: :     '::::::::.   ' ,:::::::::: : :.:':::::::::::::::
:::::::::::::::::::::::: '    .:::::::::   . :'::::::::::::::' '::::::::::::::
:::::::::::::::::::::::::''  .:::::::::: :' :'::::::::::::'      '::::::::::::
::::::::::::::::::::::::'   .:::::::::::. .::::::::::::::::       ::::::::::::
::::::::::::::::::::::::. .::::::::::::::::::::::::::::::::.:::..:::::::::::::
::::::::::::::::::::::::'.::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

bob...@wwa.com (Bob Allison) wrote:

>Win Kang <eas...@rigel.oac.uci.edu> wrote:
>>How do i do this? do i simply write into the html file?  what if some 
>>error occurs b/c of existence of certain characters?  what's a good 
>>command to use?
>
>   You need to do two things;
>
>   1. Use <pre> tag before the ASCII art starts, and </pre> after it 
>      finishes.  This will force the browser to use a monospaced font.

Ahhh, but if you're not going to use any other HTML tags in the text,
use <XMP></XMP>: that way you don't have to worry about item #2 below,
as it ignores any tags (I found this out the hard way).  If you don't
understand what I mean, look at the source on one of my pages
(http://tardis.pacificue.edu/~browninb/stories) preferably one of the
Deep Space Adder stores.  I use <XMP></XMP> and don't have to escape
for the special characters (and I have plenty of <'s and >'s).

>   2. Use the escape sequesces for characters like: & < >
>      You can find them in HTML references.

HTH
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
   ) Brandon Browning      <bra...@nwnet.net>
  (  Student Technician   voice (206) 562-3000
 c[] NorthWestNet           fax (206) 562-4822
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

About this thread. These messages were posted publicly to the newsgroup alt.ascii-art in 1995 and are 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 one of the authors? 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