|
How do I include Foreign Currency Symbols in HTML?Dave, I'm writing something where I need to place various currency symbols in an HTML file. (euros, yens, and pounds) Is it best to use names like ¥ or numbers like ¥? I presume just putting the raw text character in the file is bad. No question here: names are much better because they're portable, whereas a sequence like ¥ indexes character #165 in the ASCII table, which is going to be different on different platforms, and even within different typefaces. I have an extensive reference page that offers an easy cheat-sheet for all the official character entities defined in HTML 4.01 too called HTML 4.01 Character Entities. If you want to see the official reference for these character entities, pop over to W3.org and you'll see that you're good to go with ¥ and so on. One more benefit: ¥ is a lot more readable too.
Categorized:
HTML and CSS
(Article 3885,
Written by Dave Taylor)
Tagged: Previous: Can I have a free Gmail account? Next: How come I get lots of spam that isn't addressed to me? Subscribe!
Rather amazingly, there are no comments on this article yet.
I have something to say, now that you mention it, but ...
I do have a comment, now that you mention it!
|
Recommended
Recent Entries
Search
I Need Help!
Apple iPad Help
Articles and Reviews Auctions and Online Shopping Blogs and RSS Feeds Building Web Site Traffic Business and Management CGI Scripts and Web Site Programming Computer and Internet Basics d) None of the Above Facebook Help Google Plus Help HTML and CSS Industry News and Trade Shows iPhone and Cell Phone Help iPod, Sony PSP and MP3 Player Help Mac OS X Help Pay Per Click (PPC) Advertising Search Engine Optimization (SEO) Shell Script Programming Tech Support Video Help The Writing Business Twitter, LinkedIn and Social Network Help Unix and Linux Help Video Game Tips and Help Windows PC Help WordPress Help |