Euro Symbol in HTML Code

An overview which HTML entity can be used to represent the Euro symbol in HTML documents.
The € symbol in HTML
DirectlyUse appropriate encoding (UTF-8/Unicode) in XHTML document
Entity reference€Best option otherwise
Numeric character reference€Also widely supported
Hexadecimal character reference€Limited support


HTML entities will only work when dealing with HTML, not javascript.