Monday 30 September 2013

HTML Entities\Special Characters

What are Special Characters?

The characters, other than the alphabets, numbers and common symbols, like © (copy right), ™ (trade mark), € (euro sign), ® (registered), ≥ (greater than), Ω (omega), α (alpha), and β (beta) are known as special characters.
We often need to put some of these special characters in our ordinary documents and especially in mathematics documents.
The bad news here is that you cannot insert these special characters in your document directly like alphabets and numbers. You need to put code to insert these characters in our document. These characters can be very useful for your webpages. If, for example, your website contains mathematical data or you want to show copy right or trademark symbols on your website then you need to learn how to insert these characters. A brief description on this is given below:

Special Characters in HTML

Even in ordinary documents we cannot put special characters directly using keyboard instead we’ve to do something else to enter such special character like to insert a symbol we insert it from the Symbols in MS Word 2010 or in Open Office. Same thing apply here for HTML documents in order to insert special character in your webpages. Unlike word processors you need to provide some special codes to enter these characters. The detailed table is given here below in which a code is given against each symbol.
Symbol HTML Entity Name
& & Ampersand
¢ ¢ Cent
© © Copyright
÷ ÷ Divide
< &lt; Less than
> &gt; Greater than
µ &micro; Micron
· &middot Middle dot
&para; Pilcrow (paragraph sign)
± &plusmn; Plus/Minus
&euro; Euro
£ &pound; British Pound Sterling
® &reg; Registered
§ &sect; Section
&trade; Trade Mark
¥ &yen; Japnese Yen

No comments :

Post a Comment