A Few Entities
Note: Entities are not same as tags.
They start with a &
and end with a ;
Example - type:
0.02 ¢
0.02 ¢ (will display) By Name By Number Result:
& amp; & #38; &
& lt; & #60; <
& gt; & #62; >
& nbsp; & #160; (blank space)
& cent; & #162; ¢
& euro; & #8364; €
& pound; & #163; £
& copy; & #169; ©
& reg; & #174; ®
& trade; & #8482; ™
& plusmn; & #177; ±
& deg; & #176; °
& frac14; & #188; ¼
& frac12; & #189; ½
& frac34; & #190; ¾
Hint: Use the < and > entities to show the HTML tags inside a web page i.e. when the code in these pages displays the HTML tags it was done with the < and > entities
Saturday, November 22, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment