Question on HTML codes


  1. Posts : 394
    Desk Top with Win 7 Home Premium 64 bit and Lap Top with Windows 8.1 Pro 64 bit
       #1

    Question on HTML codes


    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


  2. Posts : 10
    Windows 7 Professional 64 bit
       #2

    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


  3. Posts : 394
    Desk Top with Win 7 Home Premium 64 bit and Lap Top with Windows 8.1 Pro 64 bit
    Thread Starter
       #3

    ambriel said:
    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


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:33.
Find Us