HTML 編碼

將HTML標籤轉換為HTML編碼,部份舉例如下:

HTML標籤 => HTML編碼
空格  
< &lt;
> &gt;
& &amp;
" &quot;
' &apos;
¢ &cent;
£ &pound;
¥ &yen;
&euro;
© &copy;
® &reg;