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
24 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
Comment Utility
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)
Comment Utility
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)
Comment Utility
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
Comment Utility
Awarded points since this warning can be ignored.
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

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

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

11 Experts available now in Live!

Get 1:1 Help Now