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
85 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Angular won't showing my array result in HTML 3 54
Selected in an option list 13 26
CSS in HTML 5 51
Triple line in an alert message 4 19
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

685 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