Solved

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

Posted on 2016-10-17
2
26 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 23

Accepted Solution

by:
Dr. Klahn earned 500 total points
Comment Utility
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
Comment Utility
Thank you sir.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Do you want to insert HTML5 video into your site? This is the tutorial how to do so. What are the main advantages of HTML5 video? 1) Have good compression, good image quality, and low decode processor use. 2) It is royalty-free 3) It is easi…
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now