Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from rec.arts.ascii, 1 Sep 1995.
Answer: HTMLizing ASCII Art

Answer: HTMLizing ASCII Art

In article <41v3oc$r8...@news.dgsys.com> mke...@dgsys.com (Mike Kershaw) writes:
>Karen Litzau (kli...@nyx10.cs.du.edu) wrote:
>> Subject says it all.  I've been attempting to HTMLize some ASCII art, but 
>> it's not working.  I enclose the art within <pre> tags, but when i try to 
>> view it in lynx, it comes out all messed up.  *grrr*  Any suggestions?
>If you have a pic for GUI browsers to go along with it, this should work.
><pre><IMG SRC="Your_pic.gif" ALT="
>Whatever ASCII Art"></pre>
>mike
[sig deleted]

I tried doing the same thing.
2 solutions:
	a) have a line like <a href="asciipic.asc">link to pic</a>
		which will load up a seperate file that is not interpreted
		as HTML

	b) include ascii art in html page.
		put pic between <pre> and </pre>, but you ALSO have to 
		change all 
			   '"' (thats qoute characters) to &quot
		           '<' to &lt
			   '>' to &gt
                           '&' to &amp

takes a while but it should fix your problem.

hope that helps, if not try looking at the source for my homepage  (in sig)

cheers  -  Tom

                  .......
           ....::::::::::::.
       .:::::::::'       `:'
    .::::'   :::           .        .
  .:::`     :::     ..     ::.    .::
 .::`      .::'  ,::::::.  ::::. .:::    May all your genes
           :::  .::' `:::  ::`::::'::    be  recessive   so
           :::  :::   :::  ::. :: .::    your children have
           :::   :::.:::`  ::'    `::    the  good  fortune
       .  :::     `:::`    :'      `:    to be not like you
       `:::::.:'
        `::::`   @Halls1.cc.monash.edu.au
         `:;`    http://yoyo.cc.monash.edu.au/~madmick/
          `:  What makes you think those are my opinions?

  "We decided to make it female so it would be more docile and 
     controllable," 
  "Well, I guess you guys don't get out much do you?"
                                               - s p e c i e s


                                
                                   

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fbb9d,d5efc27028193ad9
X-Google-Attributes: gidfbb9d,public
From: to...@halls1.cc.monash.edu.au (Tom Paton)
Subject: Answer: HTMLizing ASCII Art
Date: 1995/09/01
Message-ID: <427o0g$31...@news.wwa.com>#1/1
X-Deja-AN: 109297126
approved: bob...@wwa.com
sender: bob...@miso.wwa.com
organization: Halls of Residence, Monash University
newsgroups: rec.arts.ascii
About this message. This message was posted publicly to the newsgroup rec.arts.ascii in 1995 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