suppose I want to embed arbitrary characters in an applet parameter tag.
It might be chinese. It might just be a string with embedder single or
double quotes
I’ve found no statement how this should be done.
<param name='foo' value='this is \"a string with quotes\"'>
would be my first guess, but it seems not to be good enough.
The strings defined in the
paramtag are interpreted by your browser and passed on to the Java runtime. Java itself does not modify them in any way.So the
paramtag obeys the standard rules for HTML: In its attributes, you can use any character that is valid in HTML attributes; for escaping them, you can use standard HTML entities: