Original Usenet thread from alt.ascii-art, started 7 Nov 1997.
HELP in translating ascii to html
alt.ascii-art
· 3 messages · 7 Nov 1997 - 10 Nov 1997
>Could anyone help me translate that ascii art to HTML ? > > >* * >*** * * *** > ******* *********** *********** ******* > ************* | ***** ** ** ***** | ************* > ***** \ *** /*** ***\ *** / ***** > **** \_____/ ** ** \_____/ **** > **** ***** ***** **** > *** *** ** ** *** *** > ******** ******** > > Copy and paste the ASCII into the HTML document, then put <PRE> on the line before the pic, and </PRE> at the end of it (or at the end of a list of pictures). Doing this will make the ASCII viewable as a regular ASCII picture. Also, you can change the size of the ASCII pics on the page by putting this at the beginning of the ASCII <FONT SIZE=1> where font size is 1 to 6. then put a </FONT> at the end of the pics along with the </PRE> . . http://members.aol.com/lester5374 Ansi home page (ANSI are in GIF format only.) FTP://members.aol.com/lester5374/ansi To download the ANSI format (a lot more are here than are displayed on the web page).
sylwerius perwerius zelazko wrote: > > Could anyone help me translate that ascii art to HTML ? Personally, I have found that using <pre> flag before and </pre> flag after works fine, but I have also found that I need to make sure to use <left> alignment before I use the <pre> flag. -- _____ _ _ _|\_, \ ..````----</ /(> \_` a\_ /) /|/\ `\ ` ` `, |/ / ,/ ,-,,\ ( ( ,( ` ) , `\ .'.\ \ ||_/ /-/\\ ` )/ , (\ |\) ( )\ | .' . \ \L/ /-/ ` \\__ , , /( ) ) ( \ / ) |_' . | ` /-| \ \_)\ /( ( \ \( ) V ( ```\___ ` \_L-=E, |_) / __ _ __ _ _ __ _ / \_.-..=` / {`` ''`' } :` _`' } /`} | ; Z `' \ <``\ / /--_/\ `) `-''-,` / | [_``` / ( ; ){ {``)_) `\ | _J` .'-_,/\_``> (/\ ,` ,` } _} { : | | `-,`-. | '._ -` \/--_/ `-` ) ,` ,` __ | ( _ : \_ / }/( ) } `. ` \ |_/ ( {_ `' _) < `~~ | \_ ` / | `' _/ '..../``> /`/ `--'`` ``'--` `-` `-'` `\\\\ w w http://www.geocities.com/athens/parthenon/9573
Lester5374 <les...@aol.com> wrote: >Copy and paste the ASCII into the HTML document, then put <PRE> on the >line before the pic, and </PRE> at the end of it (or at the end of a >list of pictures). Doing this will make the ASCII viewable as a regular >ASCII picture. Most browsers need you to convert all the ">"s and "<"s and "&"s to escape-codes, too: ">" -> > [greater than] "<" -> < [less than] "&" -> & [ampersand] And because anchor-tags (<A HREF="">) in PRE regions are recognized, you can make different regions of the ascii-image into hyperlinks. See: <URL:http://www.mcs.net/~jorn/html/finder/finder.html> for some clickable/live ascii maps. Also, if you leave blank lines at the beginning and end of a PRE region, they'll provide extra spacing-- some browsers don't automatically skip a line before and after PRE, so they'll look squashed if you don't do it yourself. j
About this thread.
These messages were posted publicly to the newsgroup
alt.ascii-art
in 1997 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.