W3C HTML Validation Question
I was validating the HTML in one of my pages using the W3C HTML Validation Service, and one of the lines that it had a problem with was this:
<script language="JavaScript">
Error: required attribute "TYPE" not specified
I assume that means that it should read:
<script language="JavaScript" type="something">
but what the hell is the something? the line looks okay to me, that is, I've never written it differently.
Any help is appreciated.
<script language="JavaScript">
Error: required attribute "TYPE" not specified
I assume that means that it should read:
<script language="JavaScript" type="something">
but what the hell is the something? the line looks okay to me, that is, I've never written it differently.
Any help is appreciated.
Comments
<strong>type="text/javascript"</strong><hr></blockquote>
thanks, Eugene. Do you know why this is necessary? I know HTML, but the way that I learned it was by studying what Dreamweaver wrote and figuring out what everything does, but Dreamweaver has NEVER written that...
And, for that matter, why the hell does Dreamweaver not write valid HTML?! <img src="graemlins/bugeye.gif" border="0" alt="[Skeptical]" />
BBedit is your friend!
<strong>And, for that matter, why the hell does Dreamweaver not write valid HTML?! <img src="graemlins/bugeye.gif" border="0" alt="[Skeptical]" /> </strong><hr></blockquote>
That ones easy... the good folk over at Macromedia just can't keep up with those hyperactive standards organizations. Unfortuantely, the best we can hope for is compliance with last years standard. But then again... that's about how old most of the browsers in active use are too -- so frankly, I don't see any problems with Dreamweaver's code.
<strong>BBedit is your friend if you think like that. I don't. I'm a designer, not an engineer. I think visually, not in HTML.</strong><hr></blockquote>
i'm a designer too but i use bbedit. i learned html by hand coding, doesn't bother me or affect the way i see a page design. maybe i'm special