Solved

HTML Validation Issue: Document uses the Unicode Private Use Area(s), which should not be used in publicly exchanged documents.

Posted on 2016-10-03
4
40 Views
Last Modified: 2016-10-23
I want to use the character  as my submit character.   I am getting a validation warning:
<!DOCTYPE html>
<html lang="en">
<head>
<title>Demo</title>
</head>
<body>

 <div>
  <input type="submit" class="fa submit" value="&#61442;">
 </div>

</body>
</html>

Open in new window

0
Comment
Question by:skij
  • 2
  • 2
4 Comments
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 41827425
It is only a warning and not an error so you are good.

You could build a database of items like 1 = &#61442;, 2 = &#61443; etc. Then just post 1,2,3... and in your server side code, convert the 1 to &#61442 to display the content.  But like I said, it is just a warning.
0
 
LVL 29

Assisted Solution

by:Randy Downs
Randy Downs earned 250 total points (awarded by participants)
ID: 41827428
This is  not based on HTML validation but rather a W3C Recommendation  Char Mod and the code you are using is Private Use.

You can ignore the warning or use an image but it may fail to validate under certain circumstances.
0
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 250 total points (awarded by participants)
ID: 41827450
Randy, I think what you are saying is confusing but we said the same thing.

> This is  not based on HTML validation but rather a W3C Recommendation

And the validation from https://validator.w3.org/ which is based on the spec.  I'm not 100% sure but I think changing the doc type gets rid of the warning based on that spec.

In any case, the answer agreed is you can ignore.
0
 
LVL 29

Expert Comment

by:Randy Downs
ID: 41855860
Awarded points since this warning can be ignored.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

920 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

14 Experts available now in Live!

Get 1:1 Help Now