Strange thing happening with Java applet HTML page

My Java applet works absolutely fine on my webpage, but a lot of strange code is also displayed. I'm using Internet Explorer, what is the problem?

Here is what is displayed on the page:

{\rtf1\ansi\ansicpg1252\deff0\deflang2057{\fonttbl{\f0\fswiss\fcharset0 Arial;}} {\*\generator Msftedit 5.41.21.2508;}\viewkind4\uc1\pard\f0\fs20 \par \par

(applet)

/par/par/par}

And here is my html:

<html>
<body>
<applet code = "NameInLights.class" width = "500" height = "500">
</applet>
</body>
</html>

Answers


I doubt that's all there is in your HTML page. You must have created your HTML page using some kind of a Microsoft tool. That tool is inserting its claim to the fame, by putting its signon/copyright information. Open your HTML page, find the above string and carefully remove it.


Need Your Help

Node.js connect not serving images correctly

javascript image node.js connect httpserver

I am currently trying to write a very simple webserver using Node.js and connect, that basically just serves a single directory staticly.