Ampersand Converter

in Uncategorized

In line with my efforts to learn JavaScript, today I put together an Ampersand Converter. I like to create useful code while I learn the ropes. This tool I created should be quite handy as it solves a problem I am frequently confronted with.

&

As I have mentioned before, a lot of code we put on our websites is not W3C compliant. This solves that problem for some of Amazon’s code which is filled with hard ampersands. It seems that W3C doesn’t like this character and it has to be entered in the form of &. Instead of having to make the changes ampersand by ampersand (there are quite a few), you can just cut and paste the code into a text-area, hit the “convert” button, and voila!

I even went the extra mile and made sure the code would not convert already converted ampersands.

0 Comments

Leave a Reply

You must be logged in to post a comment.

Using Gravatars in the comments - get your own and be recognized!

XHTML: These are some of the tags you can use: <a href=""> <b> <blockquote> <code> <em> <i> <strike> <strong>