script language

C

chlori

Hello
I'm trying to validate ( -//W3C//DTD XHTML 1.0 Transitional//DE!)

The Problem is this:
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">

- there is no attribute "LANGUAGE"
- there is no attribute "TYPE"
- element "SCRIPT" undefined

Do you know how i can correct this?

Thanks!
chlori
 
N

Nicolai P. Zwar

chlori said:
Hello
I'm trying to validate ( -//W3C//DTD XHTML 1.0 Transitional//DE!)

The Problem is this:
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">

- there is no attribute "LANGUAGE"
- there is no attribute "TYPE"
- element "SCRIPT" undefined

Do you know how i can correct this?

Drop the "language" attribute, and simply try
<script type="text/javascript">
and don't capitalize the words.
 
C

chlori

Drop the "language" attribute, and simply try
<script type="text/javascript">
and don't capitalize the words.

Wonderful, now it validates!

Thanks
chlori
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,792
Messages
2,569,639
Members
45,353
Latest member
RogerDoger

Latest Threads

Top