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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Find out what you should include to make the best professional email signature for your organization.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

770 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