Go Premium for a chance to win a PS4. Enter to Win

x
?
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
Medium Priority
?
444 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 54

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 30

Assisted Solution

by:Randy Downs
Randy Downs earned 1000 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 54

Accepted Solution

by:
Scott Fell,  EE MVE earned 1000 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 30

Expert Comment

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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

972 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