?
Solved

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

Posted on 2016-10-17
2
Medium Priority
?
59 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
2 Comments
 
LVL 30

Accepted Solution

by:
Dr. Klahn earned 2000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
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…
Suggested Courses

840 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