Sunday, September 28, 2008

HTML&Applet reminder

It was painful but necessary to explain this history. Someone can think I'm a newbie and maybe he/she is right.

Many people has knowledge about HTML but ,like me, not everydoby is updated about what tags are in use and what are deprecated.

I started working in a simple HTML using DreamWeaver like this:





As you can see, the basic template includes a DTD line specifying XHTML1.0.

My problem comes when I tried to add an APPLET to the page. I spent near an hour comparing my code with other pages: maybe my applet 'codebase' is wrong? maybe the libraries needed by the applet has a wrong path? ...

Finally I found the problem. Here is a copy&paste extracted from w3schools
:
The applet element was deprecated in HTML 4.01.
The applet element is not supported in XHTML 1.0 Strict DTD.

No comments: