Forum Moderators: open

Message Too Old, No Replies

<script> - Correct Use in XHTML Strict?

         

Nick_W

9:44 pm on Mar 17, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Okay,

So, href is wrong and 'language' too.

This however does not do it either:

<script type="text/css" src="blah.js"></script>

I rarely use JS but this is for someone else and the 'image' it pulls does not show up on the page, just the link.. (links to some kind of freebie thingumyjig)

Anyone offer a little assistance? I'd like it to validate AND work ;)

Many thanks...

Nick

tedster

10:06 pm on Mar 17, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Nick, you did mean type=text/javascript, right?

g1smd

10:17 pm on Mar 17, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Ha ha. I made that same mistake for the first time ever last week, and it took hours to work out what was wrong with it. Another one was type="test/javascript".

Nick_W

7:19 am on Mar 18, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



OMG! - I don't beleive it!

<nick skulks away in embarassment....>

Cheers guys ;)

Nick

tedster

10:36 am on Mar 18, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well, at least we can tell which forum you moderate 24*7, can't we?