Question on HTML codes

Frank1

New member
Power User
VIP
Local time
7:17 PM
Messages
394
Location
Ohio
I'm studying HTML with an online tutorial. I use notepad to write the documents. I am now reading about using code for special characters such as: For the dollar sign you should use $ and there are other different codes for the double quotation mark and so forth. However if I simply put in the dollar sign or the double quotation mark, it still shows up correctly in the document. I'm sure there must be something that I don't understand, but why use the special code when it works without them?
Thanks
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP Pavilion g7-1260us Notebook
OS
Desk Top with Win 7 Home Premium 64 bit and Lap Top with Windows 8.1 Pro 64 bit
Memory
8Gig
Screen Resolution
1600x900
It may well work ok on your PC but there is no guarantee it will work on someone else's PC, especially if they are located in another part of the world where the ASCII codes are mapped onto different symbols, or perhaps if they're not using a PC.

Using the character entity codes maintains compatibility for these special characters and symbols.
 

My Computer

Computer Manufacturer/Model Number
Fujitsu Lifebook A Series
OS
Windows 7 Professional 64 bit
CPU
Intel Core i5
Memory
4gb
Hard Drives
500gb
It may well work ok on your PC but there is no guarantee it will work on someone else's PC, especially if they are located in another part of the world where the ASCII codes are mapped onto different symbols, or perhaps if they're not using a PC.

Using the character entity codes maintains compatibility for these special characters and symbols.
That makes sense. I'll continue to use the special charters. Thank you.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP Pavilion g7-1260us Notebook
OS
Desk Top with Win 7 Home Premium 64 bit and Lap Top with Windows 8.1 Pro 64 bit
Memory
8Gig
Screen Resolution
1600x900
Back
Top