Ryan's District
November 22, 2008, 05:18:20 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: You are not allowed to view links.
Register or Login
How to Unlock Nokia mobile Phones

You are not allowed to view links.
Register or Login
Request any TV Show / series / Episodes / movie and we will get it for you for free

 
   Home   Help Search Chat Calendar Chess Shop Login Register  
Digg This!
Pages: [1]   Go Down
  Send this topic  |  Print  
Author Topic: HTML help - Special Characters  (Read 3977 times)
0 Members and 1 Guest are viewing this topic.
ben2ong2
Quality Poster
Paid
Hero Member
*****

Reputation: 17
Offline Offline

Gender: Male
Posts: 2374
9976.80 RD$

View Inventory
Send Money to ben2ong2

View Profile Awards
« on: October 03, 2006, 05:05:34 PM »

The keyboard contains only alphabet, numbers and some punctuation marks. What if you wanted to include a © symbol on your pages like I have (scroll down this page, and you shall find this symbol). Such symbols are special characters called Character Entities, which can be displayed in HTML pages using a certain notation.


This notation can be of two types:

&entity-name-shortform;
&#number;
Thus, the copyright sign can be displayed by © or © Here are a few common characters which you might need for your pages:

I had mentioned at the beginning that HTML is case insensitive and so, it doesn't make a difference if you write <FONT>, <font>, <Font> or <FoNt> (... hope you get the general idea!). Character entities, however, are case sensitive- &nbsp; will work but &NBSP; won't. Try it out yourself.



Name Notation            Number Notation                    Special Character
&amp;                             &#38;                                      &
&lt;                                 &#60;                                      <
&gt;                                 &#62;                                      >
&trade;                            ™                                      â„¢
&nbsp;                                                            Empty space
&cent;                              ¢                                      ¢
&pound;                             £                                      £
&yen;                               ¥                                       Â¥
&copy;                              ©                                      ©
&reg;                                 ®                                     Â®
&deg;                                °                                       Â°
&frac14;                            ¼                                       Â¼
&frac12;                            ½                                         Â½
&frac34;                            ¾                                        ¾

The entire list of character entities can be found here.

Remember, all tags in HTML are enclosed by < and > signs. To display these signs, you have to use their special character notations. Thus, to display <HTML>, you have to write the < and > signs in their special notations as &lt;HTML&gt;.



Logged

You are not allowed to view links.
Register or Login
Free Paid Survey & Home Business Resources.

You are not allowed to view links.
Register or Login
Free Article Directory | Quality Content
Ryan's District
« on: October 03, 2006, 05:05:34 PM »

 Logged
Pages: [1]   Go Up
  Send this topic  |  Print  
 
Jump to:  

Archive - WAP2 - WAP - imode
Sponsors: RAYAN.tv
-

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 3.367 seconds with 30 queries.

Google visited last this page Today at 06:34:34 AM