
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.
Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Simpy.
Categorized:
HTML and CSS
(Article 3885)
Tagged: Previous: Can I have a free Gmail account? Next: How come I get lots of spam that isn't addressed to me? Subscribe!
Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader.
Rather amazingly, there are no comments on this article yet.
I have a lot to say, but ...
I do have a comment, now that you mention it!
|
![]()
Search
Find just the answers you seek from among our 1700+ free tech support articles by using our Lijit search engine.
Help!
Subscribe to
Ask Dave Taylor!
Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.
Articles and Reviews
Auctions and Online Shopping Blogs and RSS Feeds Building Web site traffic Business and Management Cell Phones and Mobile Phones CGI Scripts and Web Site Programming Computer and Internet Basics d) None of the Above HTML and CSS Mac OS X Help MySpace, Facebook, Twitter and Social Network Help Pay Per Click (PPC) Search Engine Optimization Shell Script Programming Sony PSP, MP3 Players, Etc. The Writing Business Unix and Linux Help Video Game Tips and Help Windows Help
Recent Entries
Join the List!
Book Links
|