ASCII Art Hidden in Source Code

Now and then if you look at the source code (the HTML code) of websites you can find ASCII art. Its like a secret surprise for those who dig a little deeper.  Have a look at - ASCII Art Signatures in the Wild.

You can add ASCII art to the source code for your own site or blog.

Choose the ASCII art you want to use. Make your own ASCII art or borrow art created by someone else. (Don’t forget to keep the artist credit/ initials with the work).

Open the source file in a text editor. Notepad (the software which comes with Windows) will work.

Pick the place you will add the ASCII art – make sure you don’t break the HTML code because that would mess up your site.

You need to add some simple HTML code before and after the ASCII art.

hidden ASCII art

 

This code prevents your ASCII art from showing on the page – instead it is like a note you have left to yourself in the code. Only people looking at the actual HTML code can see what you place in this particular HTML code.

Then save the file and close it.

ASCII art found:

Welcome Mat.co shares the code for adding a “Welcome” to the HTML code of your site.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>