Solved

Can I type these characters directly into HTML or do I have to use ASCI code

Posted on 2016-10-17
2
42 Views
Last Modified: 2016-10-17
For music characters like ♯ ♭ Can I just type these into HTML directly from a command on my keyboard, or do I need to enter the ASCI?

I realize I could test it but with browser compatibility varying I wanted to ask an expert to give me the correct response.
0
Comment
Question by:burnedfaceless
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 27

Accepted Solution

by:
Dr. Klahn earned 500 total points
ID: 41847529
When dealing with special characters it is good practice to use the HTML Unicode method per this page examples:

<p>I will display &spades;<p>
<p>I will display &#9824;<p>
<p>I will display &#x2660;<p> 

Open in new window


They will then render correctly in any browser, within the limitations of the characters available to the browser in the selected typeface.

See also the Wikipedia article on HTML and Unicode.
0
 

Author Closing Comment

by:burnedfaceless
ID: 41847534
Thank you sir.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article discusses how to create an extensible mechanism for linked drop downs.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question